f1module Cisco-IOS-XR-um-router-isis-cfg {f1module Cisco-IOS-XR-um-router-isis-cfg {
2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-isis-cfg";2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-isis-cfg";
3  prefix um-router-isis-cfg;3  prefix um-router-isis-cfg;
44
5  import Cisco-IOS-XR-types {5  import Cisco-IOS-XR-types {
6    prefix xr;6    prefix xr;
7  }7  }
8  import ietf-inet-types {8  import ietf-inet-types {
9    prefix inet;9    prefix inet;
10  }10  }
11  import Cisco-IOS-XR-um-snmp-server-cfg {11  import Cisco-IOS-XR-um-snmp-server-cfg {
12    prefix a1;12    prefix a1;
13  }13  }
14  import tailf-common {14  import tailf-common {
15    prefix tailf;15    prefix tailf;
16  }16  }
17  import cisco-semver {17  import cisco-semver {
18    prefix semver;18    prefix semver;
19  }19  }
2020
21  organization21  organization
22    "Cisco Systems, Inc.";22    "Cisco Systems, Inc.";
23  contact23  contact
24    "Cisco Systems, Inc.24    "Cisco Systems, Inc.
25     Customer Service25     Customer Service
26     26     
27     Postal: 170 West Tasman Drive27     Postal: 170 West Tasman Drive
28     San Jose, CA 9513428     San Jose, CA 95134
29     29     
30     Tel: +1 800 553-NETS30     Tel: +1 800 553-NETS
31     31     
32     E-mail: cs-yang@cisco.com";32     E-mail: cs-yang@cisco.com";
33  description33  description
34    "This module contains a collection of YANG definitions34    "This module contains a collection of YANG definitions
35     for Cisco IOS-XR router-isis package configuration.35     for Cisco IOS-XR router-isis package configuration.
36     36     
37     This YANG module augments the37     This YANG module augments the
38     modules with configuration data.38     modules with configuration data.
39     39     
n40     Copyright (c) 2019-2024 by Cisco Systems, Inc.n40     Copyright (c) 2019-2022 by Cisco Systems, Inc.
41     All rights reserved.";41     All rights reserved.";
4242
n43  revision 2024-02-05 {n
44    description
45      "Correct container distribute-list metadata
46       2024-02-01
47         Add ip-only support
48       2024-01-05
49         Add Log Size
50       2023-11-21
51         Add Generic-metric
52       2023-11-09
53         Add lsp-fast-flooding submode, psnp-interval and if remote-psnp-delay
54       2023-11-09
55         Add oor-set-overload-bit
56       2023-08-22
57         Add nsr-restart-time
58       2023-07-12
59         Add flex-algo UCMP
60       2023-06-28
61         Change the must clause from ../../srv6-locator-xxx to srv6-locator-xxx
62       2023-04-09
63         Add maximum paths per route-policy for standard and flex algo
64       2023-04-03
65         Add flex-algo MinimumBandwidth and MaximumDelay constraints
66       2023-03-13
67         Add Uloop filtering suport
68       2023-02-10
69         Modify must statement for SPF interval per-level
70       2022-11-18
71         Add distribute link-state prefix filtering
72       2022-10-14
73         Added new nodes for partition-detect
74       2022-10-04
75         Added support for ISIS Prefix-SID UHP
76       2022-10-02
77         Added hello-padding under router-isis
78       2022-10-01
79         Add support for flex-algo reverse link affinities.
80       2022-07-25
81         Added new node anycast-prefer-igp-cost to traffic-eng tunnel
82       2022-07-18
83         Added new node php-disable to the existing connected-prefix-sid-map, strict-spf and flex-algo.
84       2022-07-11
85         Added missing description statement to nodes
86       2022-05-12
87         Added new node adv-unreachable with sub-node unreachable-component-tag and tag value to an existing ISIS address-family sub-mode summary-prefix command.Added new node prefix-unreachable under ISIS address-family sub-mode.
88       2022-05-05
89         Added new node anomaly to the existing ISIS affinity flex-algo
90       2022-04-22
91         Added support for maximum-paths under flex-algo,
92       Added container algorithm
93       2022-04-05
94         Added support for te and delay
95       2022-03-03
96         Added container metric & tag under segment-routing/srv6/locators,
97       Added container format,
98       Added container lsp-fast-flood
99       2022-01-19
100         Added ietf support for spf-interval
101       2022-01-04
102         Added support for unhidden CLI commands
103       2021-12-14
104         Added authentication-check feature";
105    semver:module-version "5.0.0";
106  }
107  revision 2021-09-23 {43  revision 2021-09-23 {
108    description44    description
109      "Merged container levels under disable|interval/periodic/address-family-topology,45      "Merged container levels under disable|interval/periodic/address-family-topology,
n110        Merged container levels under disable|interval/periodic/address-family,n46       Merged container levels under disable|interval/periodic/address-family,
111        Merged disable & interval-time into one leaf interval47       Merged disable & interval-time into one leaf interval
112       2021-07-2748       2021-07-27
n113          Re-ordered maximum-wait, initial-wait and secondary-wait nodes undern49         Re-ordered maximum-wait, initial-wait and secondary-wait nodes under
114        level container/spf-interval50       level container/spf-interval
115       2021-06-1551       2021-06-15
n116          Added when statement to container prefix-attributes";n52         Added when statement to container prefix-attributes";
117    semver:module-version "4.0.0";53    semver:module-version "4.0.0";
118  }54  }
119  revision 2021-05-18 {55  revision 2021-05-18 {
120    description56    description
121      "Added features, 1. flex-algo srlg exclude57      "Added features, 1. flex-algo srlg exclude
122       2. advertise application flex-algo link-attributes srlg58       2. advertise application flex-algo link-attributes srlg
123       2021-04-2259       2021-04-22
n124           Added te-metric flex-algo featuren60          Added te-metric flex-algo feature
125       2021-03-0261       2021-03-02
n126           Re-ordered maximum-wait, initial-wait and secondary-wait nodes undern62          Re-ordered maximum-wait, initial-wait and secondary-wait nodes under
127         level container63        level container
128       2021-02-1164       2021-02-11
n129           Re-ordered per-link, per-prefix nodes under interface fast-reroute containern65          Re-ordered per-link, per-prefix nodes under interface fast-reroute container
130       2021-01-2866       2021-01-28
n131           Added cisco-support task yang nodesn67          Added cisco-support task yang nodes
132       2021-01-2768       2021-01-27
n133           Re-ordered nodes under lsp-gen-interval, min-lsp-arrivaltime containern69          Re-ordered nodes under lsp-gen-interval, min-lsp-arrivaltime container
134       2021-01-2070       2021-01-20
n135           Moved presence containers as leafs under snmp-server trapsn71          Moved presence containers as leafs under snmp-server traps
136       2021-01-1872       2021-01-18
n137           Added presence statement and re-ordered few nodes under container max-metricn73          Added presence statement and re-ordered few nodes under container max-metric
138       2021-01-1174       2021-01-11
n139           Add support to metric and preferred container under tunneln75          Add support to metric and preferred container under tunnel
140       2021-01-0776       2021-01-07
n141           Updated range value in leaf multiplier under fallback containern77          Updated range value in leaf multiplier under fallback container
142       2021-01-0678       2021-01-06
n143           Added presence statement under link-state containern79          Added presence statement under link-state container
144       2020-12-0980       2020-12-09
n145           Removed cisco-support yang nodesn81          Removed cisco-support yang nodes
146       2020-12-0182       2020-12-01
n147           Added container anomaly under metric/fallbackn83          Added container anomaly under metric/fallback
148       2020-11-2084       2020-11-20
n149           Added metric type ten85          Added metric type te
150       2020-11-1986       2020-11-19
n151           Fixed a must statement under absolute, added presence statement to textn87          Fixed a must statement under absolute, added presence statement to text
152       2020-11-1388       2020-11-13
n153           Added container receive and attestation under list process.n89          Added container receive and attestation under list process.
154       2020-11-0290       2020-11-02
n155           Moved levels container under lsp-password out of it and renamed asn91          Moved levels container under lsp-password out of it and renamed as
156         lsp-password-levels.92        lsp-password-levels.
157       2020-08-2093       2020-08-20
n158           Added level option under srv6/locatorn94          Added level option under srv6/locator
159       2020-08-1395       2020-08-13
n160           Remove presence container and constraints on the match containern96          Remove presence container and constraints on the match container
161       2020-08-1097       2020-08-10
n162           Updated the fallback topologyn98          Updated the fallback topology
163       2020-07-2199       2020-07-21
n164           Slight changes to prefix-priority nodesn100          Slight changes to prefix-priority nodes
165       2020-07-17101       2020-07-17
n166           Added must statements and moved rib-update-delay up one noden102          Added must statements and moved rib-update-delay up one node
167       2020-07-15103       2020-07-15
n168           Added down-flag-clear node under redistribute isisn104          Added down-flag-clear node under redistribute isis
169       2020-07-14105       2020-07-14
n170           Added mandatory node to bit-position under affinity-map";n106          Added mandatory node to bit-position under affinity-map";
171    semver:module-version "3.0.0";107    semver:module-version "3.0.0";
172  }108  }
173  revision 2020-05-19 {109  revision 2020-05-19 {
174    description110    description
175      "Added nodes for new ISIS features111      "Added nodes for new ISIS features
176       2020-05-07112       2020-05-07
n177         Added a container anycast and its child nodesn113        Added a container anycast and its child nodes
178       2020-04-14114       2020-04-14
n179         Updated the constraints in the nodes under stagger to be less strictn115        Updated the constraints in the nodes under stagger to be less strict
180       2020-03-09116       2020-03-09
n181         Updated lsp-password and summary-prefix trees with proper constaraintn117        Updated lsp-password and summary-prefix trees with proper constaraint
182         statements";118        statements";
183    semver:module-version "2.0.0";119    semver:module-version "2.0.0";
184  }120  }
185  revision 2019-06-10 {121  revision 2019-06-10 {
186    description122    description
187      "Establish semantic version baseline.";123      "Establish semantic version baseline.";
188    semver:module-version "1.0.0";124    semver:module-version "1.0.0";
189  }125  }
190  revision 2019-03-30 {126  revision 2019-03-30 {
191    description127    description
192      "Initial draft";128      "Initial draft";
193  }129  }
194130
195  typedef Isis-af-name {131  typedef Isis-af-name {
196    type enumeration {132    type enumeration {
197      enum "ipv4" {133      enum "ipv4" {
198        value 0;134        value 0;
199        description135        description
200          "IPv4";136          "IPv4";
201      }137      }
202      enum "ipv6" {138      enum "ipv6" {
203        value 1;139        value 1;
204        description140        description
205          "IPv6";141          "IPv6";
206      }142      }
207    }143    }
208    description144    description
209      "Address-family names";145      "Address-family names";
210  }146  }
211147
212  typedef Isis-saf-name {148  typedef Isis-saf-name {
213    type enumeration {149    type enumeration {
214      enum "unicast" {150      enum "unicast" {
215        value 0;151        value 0;
216        description152        description
217          "unicast";153          "unicast";
218      }154      }
219      enum "multicast" {155      enum "multicast" {
220        value 1;156        value 1;
221        description157        description
222          "multicast";158          "multicast";
223      }159      }
224    }160    }
225    description161    description
226      "Sub address-family names";162      "Sub address-family names";
227  }163  }
228164
229  typedef Isis-saf-multicast {165  typedef Isis-saf-multicast {
230    type enumeration {166    type enumeration {
231      enum "multicast" {167      enum "multicast" {
232        value 1;168        value 1;
233        description169        description
234          "multicast";170          "multicast";
235      }171      }
236    }172    }
237    description173    description
238      "Sub address-family names (only multicast)";174      "Sub address-family names (only multicast)";
239  }175  }
240176
241  augment "/a1:snmp-server/a1:traps" {177  augment "/a1:snmp-server/a1:traps" {
n242    descriptionn
243      "This augment extends snmp-server traps nodes
244       configuration";
245    container isis {178    container isis {
246      must179      must
247        "not(all = 'enable' and180        "not(all = 'enable' and
248         (database-overload = 'enable' or181         (database-overload = 'enable' or
249         manual-address-drops = 'enable' or182         manual-address-drops = 'enable' or
250         corrupted-lsp-detected = 'enable' or183         corrupted-lsp-detected = 'enable' or
251         attempt-to-exceed-max-sequence = 'enable' or184         attempt-to-exceed-max-sequence = 'enable' or
252         id-len-mismatch = 'enable' or185         id-len-mismatch = 'enable' or
253         max-area-addresses-mismatch = 'enable' or186         max-area-addresses-mismatch = 'enable' or
254         own-lsp-purge = 'enable' or187         own-lsp-purge = 'enable' or
255         sequence-number-skip = 'enable' or188         sequence-number-skip = 'enable' or
256         authentication-type-failure = 'enable' or189         authentication-type-failure = 'enable' or
257         authentication-failure = 'enable' or190         authentication-failure = 'enable' or
258         version-skew = 'enable' or191         version-skew = 'enable' or
259         area-mismatch = 'enable' or192         area-mismatch = 'enable' or
260         rejected-adjacency = 'enable' or193         rejected-adjacency = 'enable' or
261         lsp-too-large-to-propagate = 'enable' or194         lsp-too-large-to-propagate = 'enable' or
262         orig-lsp-buff-size-mismatch = 'enable' or195         orig-lsp-buff-size-mismatch = 'enable' or
263         protocols-supported-mismatch = 'enable' or196         protocols-supported-mismatch = 'enable' or
264         adjacency-change = 'enable' or197         adjacency-change = 'enable' or
265         lsp-error-detected = 'enable'))";198         lsp-error-detected = 'enable'))";
266      presence "Indicates a isis node is configured.";199      presence "Indicates a isis node is configured.";
267      description200      description
268        "Enable IS-IS traps";201        "Enable IS-IS traps";
269      leaf all {202      leaf all {
270        type enumeration {203        type enumeration {
271          enum "enable" {204          enum "enable" {
272            value 19;205            value 19;
273            description206            description
274              "Enable the trap";207              "Enable the trap";
275          }208          }
276          enum "disable" {209          enum "disable" {
277            value 0;210            value 0;
278            description211            description
279              "Disable the trap";212              "Disable the trap";
280          }213          }
281        }214        }
282        mandatory true;215        mandatory true;
283        description216        description
284          "Enable all IS-IS traps";217          "Enable all IS-IS traps";
285      }218      }
286      leaf database-overload {219      leaf database-overload {
287        type enumeration {220        type enumeration {
288          enum "enable" {221          enum "enable" {
289            value 1;222            value 1;
290            description223            description
291              "Enable the trap";224              "Enable the trap";
292          }225          }
293          enum "disable" {226          enum "disable" {
294            value 0;227            value 0;
295            description228            description
296              "Disable the trap";229              "Disable the trap";
297          }230          }
298        }231        }
299        mandatory true;232        mandatory true;
300        description233        description
301          "isisDatabaseOverload";234          "isisDatabaseOverload";
302      }235      }
303      leaf manual-address-drops {236      leaf manual-address-drops {
304        type enumeration {237        type enumeration {
305          enum "enable" {238          enum "enable" {
306            value 2;239            value 2;
307            description240            description
308              "Enable the trap";241              "Enable the trap";
309          }242          }
310          enum "disable" {243          enum "disable" {
311            value 0;244            value 0;
312            description245            description
313              "Disable the trap";246              "Disable the trap";
314          }247          }
315        }248        }
316        mandatory true;249        mandatory true;
317        description250        description
318          "isisManualAddressDrops";251          "isisManualAddressDrops";
319      }252      }
320      leaf corrupted-lsp-detected {253      leaf corrupted-lsp-detected {
321        type enumeration {254        type enumeration {
322          enum "enable" {255          enum "enable" {
323            value 3;256            value 3;
324            description257            description
325              "Enable the trap";258              "Enable the trap";
326          }259          }
327          enum "disable" {260          enum "disable" {
328            value 0;261            value 0;
329            description262            description
330              "Disable the trap";263              "Disable the trap";
331          }264          }
332        }265        }
333        mandatory true;266        mandatory true;
334        description267        description
335          "isisCorruptedLSPDetected";268          "isisCorruptedLSPDetected";
336      }269      }
337      leaf attempt-to-exceed-max-sequence {270      leaf attempt-to-exceed-max-sequence {
338        type enumeration {271        type enumeration {
339          enum "enable" {272          enum "enable" {
340            value 4;273            value 4;
341            description274            description
342              "Enable the trap";275              "Enable the trap";
343          }276          }
344          enum "disable" {277          enum "disable" {
345            value 0;278            value 0;
346            description279            description
347              "Disable the trap";280              "Disable the trap";
348          }281          }
349        }282        }
350        mandatory true;283        mandatory true;
351        description284        description
352          "isisAttemptToExceedMaxSequence";285          "isisAttemptToExceedMaxSequence";
353      }286      }
354      leaf id-len-mismatch {287      leaf id-len-mismatch {
355        type enumeration {288        type enumeration {
356          enum "enable" {289          enum "enable" {
357            value 5;290            value 5;
358            description291            description
359              "Enable the trap";292              "Enable the trap";
360          }293          }
361          enum "disable" {294          enum "disable" {
362            value 0;295            value 0;
363            description296            description
364              "Disable the trap";297              "Disable the trap";
365          }298          }
366        }299        }
367        mandatory true;300        mandatory true;
368        description301        description
369          "isisIDLenMismatch";302          "isisIDLenMismatch";
370      }303      }
371      leaf max-area-addresses-mismatch {304      leaf max-area-addresses-mismatch {
372        type enumeration {305        type enumeration {
373          enum "enable" {306          enum "enable" {
374            value 6;307            value 6;
375            description308            description
376              "Enable the trap";309              "Enable the trap";
377          }310          }
378          enum "disable" {311          enum "disable" {
379            value 0;312            value 0;
380            description313            description
381              "Disable the trap";314              "Disable the trap";
382          }315          }
383        }316        }
384        mandatory true;317        mandatory true;
385        description318        description
386          "isisMaxAreaAddressesMismatch";319          "isisMaxAreaAddressesMismatch";
387      }320      }
388      leaf own-lsp-purge {321      leaf own-lsp-purge {
389        type enumeration {322        type enumeration {
390          enum "enable" {323          enum "enable" {
391            value 7;324            value 7;
392            description325            description
393              "Enable the trap";326              "Enable the trap";
394          }327          }
395          enum "disable" {328          enum "disable" {
396            value 0;329            value 0;
397            description330            description
398              "Disable the trap";331              "Disable the trap";
399          }332          }
400        }333        }
401        mandatory true;334        mandatory true;
402        description335        description
403          "isisOwnLSPPurge";336          "isisOwnLSPPurge";
404      }337      }
405      leaf sequence-number-skip {338      leaf sequence-number-skip {
406        type enumeration {339        type enumeration {
407          enum "enable" {340          enum "enable" {
408            value 8;341            value 8;
409            description342            description
410              "Enable the trap";343              "Enable the trap";
411          }344          }
412          enum "disable" {345          enum "disable" {
413            value 0;346            value 0;
414            description347            description
415              "Disable the trap";348              "Disable the trap";
416          }349          }
417        }350        }
418        mandatory true;351        mandatory true;
419        description352        description
420          "isisSequenceNumberSkip";353          "isisSequenceNumberSkip";
421      }354      }
422      leaf authentication-type-failure {355      leaf authentication-type-failure {
423        type enumeration {356        type enumeration {
424          enum "enable" {357          enum "enable" {
425            value 9;358            value 9;
426            description359            description
427              "Enable the trap";360              "Enable the trap";
428          }361          }
429          enum "disable" {362          enum "disable" {
430            value 0;363            value 0;
431            description364            description
432              "Disable the trap";365              "Disable the trap";
433          }366          }
434        }367        }
435        mandatory true;368        mandatory true;
436        description369        description
437          "isisAuthenticationTypeFailure";370          "isisAuthenticationTypeFailure";
438      }371      }
439      leaf authentication-failure {372      leaf authentication-failure {
440        type enumeration {373        type enumeration {
441          enum "enable" {374          enum "enable" {
442            value 10;375            value 10;
443            description376            description
444              "Enable the trap";377              "Enable the trap";
445          }378          }
446          enum "disable" {379          enum "disable" {
447            value 0;380            value 0;
448            description381            description
449              "Disable the trap";382              "Disable the trap";
450          }383          }
451        }384        }
452        mandatory true;385        mandatory true;
453        description386        description
454          "isisAuthenticationFailure";387          "isisAuthenticationFailure";
455      }388      }
456      leaf version-skew {389      leaf version-skew {
457        type enumeration {390        type enumeration {
458          enum "enable" {391          enum "enable" {
459            value 11;392            value 11;
460            description393            description
461              "Enable the trap";394              "Enable the trap";
462          }395          }
463          enum "disable" {396          enum "disable" {
464            value 0;397            value 0;
465            description398            description
466              "Disable the trap";399              "Disable the trap";
467          }400          }
468        }401        }
469        mandatory true;402        mandatory true;
470        description403        description
471          "isisVersionSkew";404          "isisVersionSkew";
472      }405      }
473      leaf area-mismatch {406      leaf area-mismatch {
474        type enumeration {407        type enumeration {
475          enum "enable" {408          enum "enable" {
476            value 12;409            value 12;
477            description410            description
478              "Enable the trap";411              "Enable the trap";
479          }412          }
480          enum "disable" {413          enum "disable" {
481            value 0;414            value 0;
482            description415            description
483              "Disable the trap";416              "Disable the trap";
484          }417          }
485        }418        }
486        mandatory true;419        mandatory true;
487        description420        description
488          "isisAreaMismatch";421          "isisAreaMismatch";
489      }422      }
490      leaf rejected-adjacency {423      leaf rejected-adjacency {
491        type enumeration {424        type enumeration {
492          enum "enable" {425          enum "enable" {
493            value 13;426            value 13;
494            description427            description
495              "Enable the trap";428              "Enable the trap";
496          }429          }
497          enum "disable" {430          enum "disable" {
498            value 0;431            value 0;
499            description432            description
500              "Disable the trap";433              "Disable the trap";
501          }434          }
502        }435        }
503        mandatory true;436        mandatory true;
504        description437        description
505          "isisRejectedAdjacency";438          "isisRejectedAdjacency";
506      }439      }
507      leaf lsp-too-large-to-propagate {440      leaf lsp-too-large-to-propagate {
508        type enumeration {441        type enumeration {
509          enum "enable" {442          enum "enable" {
510            value 14;443            value 14;
511            description444            description
512              "Enable the trap";445              "Enable the trap";
513          }446          }
514          enum "disable" {447          enum "disable" {
515            value 0;448            value 0;
516            description449            description
517              "Disable the trap";450              "Disable the trap";
518          }451          }
519        }452        }
520        mandatory true;453        mandatory true;
521        description454        description
522          "isisLSPTooLargeToPropagate";455          "isisLSPTooLargeToPropagate";
523      }456      }
524      leaf orig-lsp-buff-size-mismatch {457      leaf orig-lsp-buff-size-mismatch {
525        type enumeration {458        type enumeration {
526          enum "enable" {459          enum "enable" {
527            value 15;460            value 15;
528            description461            description
529              "Enable the trap";462              "Enable the trap";
530          }463          }
531          enum "disable" {464          enum "disable" {
532            value 0;465            value 0;
533            description466            description
534              "Disable the trap";467              "Disable the trap";
535          }468          }
536        }469        }
537        mandatory true;470        mandatory true;
538        description471        description
539          "isisOrigLSPBuffSizeMismatch";472          "isisOrigLSPBuffSizeMismatch";
540      }473      }
541      leaf protocols-supported-mismatch {474      leaf protocols-supported-mismatch {
542        type enumeration {475        type enumeration {
543          enum "enable" {476          enum "enable" {
544            value 16;477            value 16;
545            description478            description
546              "Enable the trap";479              "Enable the trap";
547          }480          }
548          enum "disable" {481          enum "disable" {
549            value 0;482            value 0;
550            description483            description
551              "Disable the trap";484              "Disable the trap";
552          }485          }
553        }486        }
554        mandatory true;487        mandatory true;
555        description488        description
556          "isisProtocolsSupportedMismatch";489          "isisProtocolsSupportedMismatch";
557      }490      }
558      leaf adjacency-change {491      leaf adjacency-change {
559        type enumeration {492        type enumeration {
560          enum "enable" {493          enum "enable" {
561            value 17;494            value 17;
562            description495            description
563              "Enable the trap";496              "Enable the trap";
564          }497          }
565          enum "disable" {498          enum "disable" {
566            value 0;499            value 0;
567            description500            description
568              "Disable the trap";501              "Disable the trap";
569          }502          }
570        }503        }
571        mandatory true;504        mandatory true;
572        description505        description
573          "isisAdjacencyChange";506          "isisAdjacencyChange";
574      }507      }
575      leaf lsp-error-detected {508      leaf lsp-error-detected {
576        type enumeration {509        type enumeration {
577          enum "enable" {510          enum "enable" {
578            value 18;511            value 18;
579            description512            description
580              "Enable the trap";513              "Enable the trap";
581          }514          }
582          enum "disable" {515          enum "disable" {
583            value 0;516            value 0;
584            description517            description
585              "Disable the trap";518              "Disable the trap";
586          }519          }
587        }520        }
588        mandatory true;521        mandatory true;
589        description522        description
590          "isisLSPErrorDetected";523          "isisLSPErrorDetected";
591      }524      }
592    }525    }
593  }526  }
594  container router {527  container router {
595    description528    description
596      "Enable a routing process";529      "Enable a routing process";
597    container isis {530    container isis {
598      description531      description
599        "ISO IS-IS";532        "ISO IS-IS";
600      container processes {533      container processes {
601        description534        description
602          "Process ID";535          "Process ID";
603        list process {536        list process {
604          key "process-id";537          key "process-id";
605          description538          description
606            "Process ID";539            "Process ID";
607          leaf process-id {540          leaf process-id {
608            type string {541            type string {
609              length "1..36" {542              length "1..36" {
610                description543                description
611                  "Process ID";544                  "Process ID";
612              }545              }
613            }546            }
614            description547            description
615              "Process ID";548              "Process ID";
616          }549          }
617          container nsr {550          container nsr {
618            presence "Indicates a nsr node is configured.";551            presence "Indicates a nsr node is configured.";
619            description552            description
620              "Enable NSR";553              "Enable NSR";
621          }554          }
n622          leaf nsr-restart-time {n
623            type uint32 {
624              range "60..300" {
625                description
626                  "Maximum time allowed to resync following NSR, default is 60";
627              }
628            }
629            description
630              "Maximum time allowed to resync following NSR";
631          }
632          container ignore-lsp-errors {555          container ignore-lsp-errors {
633            description556            description
634              "Ignore LSPs with bad checksums instead of purging the LSP";557              "Ignore LSPs with bad checksums instead of purging the LSP";
635            container disable {558            container disable {
636              presence "Indicates a disable node is configured.";559              presence "Indicates a disable node is configured.";
637              description560              description
638                "Purge LSPs with failed checksums";561                "Purge LSPs with failed checksums";
639            }562            }
640          }563          }
641          leaf instance-id {564          leaf instance-id {
642            type uint32 {565            type uint32 {
643              range "1..65535" {566              range "1..65535" {
644                description567                description
645                  "Instance id";568                  "Instance id";
646              }569              }
647            }570            }
648            description571            description
649              "ISIS-MI instance id";572              "ISIS-MI instance id";
650          }573          }
651          leaf is-type {574          leaf is-type {
652            type enumeration {575            type enumeration {
653              enum "level-1" {576              enum "level-1" {
654                value 1;577                value 1;
655                description578                description
656                  "Act as a station router only";579                  "Act as a station router only";
657              }580              }
658              enum "level-2-only" {581              enum "level-2-only" {
659                value 2;582                value 2;
660                description583                description
661                  "Act as an area router only";584                  "Act as an area router only";
662              }585              }
663              enum "level-1-2" {586              enum "level-1-2" {
664                value 3;587                value 3;
665                description588                description
666                  "Act as both a station router and an area router";589                  "Act as both a station router and an area router";
667              }590              }
668            }591            }
669            description592            description
670              "Area type (level)";593              "Area type (level)";
671          }594          }
672          container log {595          container log {
673            description596            description
674              "Enable logging";597              "Enable logging";
675            container adjacency {598            container adjacency {
676              description599              description
677                "Enable logging of adjacency state";600                "Enable logging of adjacency state";
678              container changes {601              container changes {
679                presence "Indicates a changes node is configured.";602                presence "Indicates a changes node is configured.";
680                description603                description
681                  "Enable logging adjacency state changes";604                  "Enable logging adjacency state changes";
682              }605              }
683            }606            }
684            container pdu {607            container pdu {
685              description608              description
686                "Enable PDU logging";609                "Enable PDU logging";
687              container drops {610              container drops {
688                presence "Indicates a drops node is configured.";611                presence "Indicates a drops node is configured.";
689                description612                description
690                  "Enable logging PDU drops";613                  "Enable logging PDU drops";
n691              }n
692            }
693            container format {
694              description
695                "Select log message format";
696              container brief {
697                presence "Indicates a brief node is configured.";
698                description
699                  "Don't add additional information to ISIS log messages";
700              }
701            }
702            container size {
703              description
704                "Configure Log Size";
705              container adjacency {
706                description
707                  "Adjacency Log Size";
708                leaf size {
709                  type uint32 {
710                    range "20..50000" {
711                      description
712                        "Size";
713                    }
714                  }
715                  description
716                    "Size of the Adjacency Log";
717                }
718              }
719              container database {
720                description
721                  "Database Log Size";
722                leaf size {
723                  type uint32 {
724                    range "20..50000" {
725                      description
726                        "Size";
727                    }
728                  }
729                  description
730                    "Size of the Database Log";
731                }
732              }
733              container error {
734                description
735                  "Error Log Size";
736                leaf size {
737                  type uint32 {
738                    range "20..50000" {
739                      description
740                        "Size";
741                    }
742                  }
743                  description
744                    "Size of the Error Log";
745                }
746              }
747              container lsp {
748                description
749                  "LSP Log Size";
750                leaf size {
751                  type uint32 {
752                    range "20..50000" {
753                      description
754                        "Size";
755                    }
756                  }
757                  description
758                    "Size of the LSP Log";
759                }
760              }
761              container microloop-avoidance {
762                description
763                  "Microloop Avoidance Log Size";
764                leaf size {
765                  type uint32 {
766                    range "20..50000" {
767                      description
768                        "Size";
769                    }
770                  }
771                  description
772                    "Size of the Microloop Avoidance Log";
773                }
774              }
775              container route {
776                description
777                  "Route Log Size";
778                leaf size {
779                  type uint32 {
780                    range "20..50000" {
781                      description
782                        "Size";
783                    }
784                  }
785                  description
786                    "Size of the Route Log";
787                }
788              }
789              container spf {
790                description
791                  "SPF Log Size";
792                leaf size {
793                  type uint32 {
794                    range "20..50000" {
795                      description
796                        "Size";
797                    }
798                  }
799                  description
800                    "Size of the SPF Log";
801                }
802              }614              }
803            }615            }
804          }616          }
805          container lsp-password {617          container lsp-password {
806            must "text or hmac-md5 or keychain";618            must "text or hmac-md5 or keychain";
807            presence "Indicates a lsp-password node is configured.";619            presence "Indicates a lsp-password node is configured.";
808            description620            description
809              "Configure the area password";621              "Configure the area password";
810            container text {622            container text {
811              must "not(../hmac-md5 or ../keychain)";623              must "not(../hmac-md5 or ../keychain)";
812              presence "Indicates a text node is configured.";624              presence "Indicates a text node is configured.";
813              description625              description
814                "Use cleartext password authentication";626                "Use cleartext password authentication";
815              leaf encrypted {627              leaf encrypted {
816                type xr:Proprietary-password;628                type xr:Proprietary-password;
817                mandatory true;629                mandatory true;
818                description630                description
819                  "The encrypted LSP/SNP password";631                  "The encrypted LSP/SNP password";
820              }632              }
821            }633            }
822            container hmac-md5 {634            container hmac-md5 {
823              must "not(../text or ../keychain)";635              must "not(../text or ../keychain)";
824              presence "Indicates a hmac-md5 node is configured.";636              presence "Indicates a hmac-md5 node is configured.";
825              description637              description
826                "Use HMAC-MD5 authentication";638                "Use HMAC-MD5 authentication";
827              leaf encrypted {639              leaf encrypted {
828                type xr:Proprietary-password;640                type xr:Proprietary-password;
829                mandatory true;641                mandatory true;
830                description642                description
831                  "The encrypted LSP/SNP password";643                  "The encrypted LSP/SNP password";
832              }644              }
833            }645            }
834            container keychain {646            container keychain {
835              must "not(../hmac-md5 or ../text)";647              must "not(../hmac-md5 or ../text)";
836              presence "Indicates a keychain node is configured.";648              presence "Indicates a keychain node is configured.";
837              description649              description
838                "Specifies a Key Chain name will follow";650                "Specifies a Key Chain name will follow";
839              leaf keychain-name {651              leaf keychain-name {
840                type string {652                type string {
841                  length "1..1024" {653                  length "1..1024" {
842                    description654                    description
843                      "The Key Chain name";655                      "The Key Chain name";
844                  }656                  }
845                }657                }
846                mandatory true;658                mandatory true;
847                description659                description
848                  "Specifies a Key Chain name will follow";660                  "Specifies a Key Chain name will follow";
849              }661              }
850            }662            }
851            container send-only {663            container send-only {
852              must "../text or ../hmac-md5 or ../keychain";664              must "../text or ../hmac-md5 or ../keychain";
853              presence "Indicates a send-only node is configured.";665              presence "Indicates a send-only node is configured.";
854              description666              description
855                "Authenticate outgoing LSPs/SNPs only";667                "Authenticate outgoing LSPs/SNPs only";
856            }668            }
857            container snp {669            container snp {
858              description670              description
859                "Specify SNP packets authentication mode";671                "Specify SNP packets authentication mode";
860              container send-only {672              container send-only {
861                must "../../text";673                must "../../text";
862                presence "Indicates a send-only node is configured.";674                presence "Indicates a send-only node is configured.";
863                description675                description
864                  "Authenticate outgoing SNPs, no check on incoming SNPs";676                  "Authenticate outgoing SNPs, no check on incoming SNPs";
865              }677              }
866            }678            }
867            container enable-poi {679            container enable-poi {
868              must "../hmac-md5 or ../keychain";680              must "../hmac-md5 or ../keychain";
869              presence "Indicates a enable-poi node is configured.";681              presence "Indicates a enable-poi node is configured.";
870              description682              description
871                "Enable purge originator identification";683                "Enable purge originator identification";
872            }684            }
873          }685          }
874          container lsp-password-levels {686          container lsp-password-levels {
875            description687            description
876              "Set lsp-password for one level only";688              "Set lsp-password for one level only";
877            list level {689            list level {
878              must "text or hmac-md5 or keychain";690              must "text or hmac-md5 or keychain";
879              key "level-id";691              key "level-id";
880              description692              description
881                "Set lsp-password for one level only";693                "Set lsp-password for one level only";
882              leaf level-id {694              leaf level-id {
883                type uint32 {695                type uint32 {
884                  range "1..2" {696                  range "1..2" {
885                    description697                    description
886                      "Set lsp-password for LSPs/SNPs at this level only";698                      "Set lsp-password for LSPs/SNPs at this level only";
887                  }699                  }
888                }700                }
889                description701                description
890                  "Set lsp-password for one level only";702                  "Set lsp-password for one level only";
891              }703              }
892              container text {704              container text {
893                must "not(../hmac-md5 or ../keychain)";705                must "not(../hmac-md5 or ../keychain)";
894                presence "Indicates a hmac-md5 node is configured.";706                presence "Indicates a hmac-md5 node is configured.";
895                description707                description
896                  "Use cleartext password authentication";708                  "Use cleartext password authentication";
897                leaf encrypted {709                leaf encrypted {
898                  type xr:Proprietary-password;710                  type xr:Proprietary-password;
899                  mandatory true;711                  mandatory true;
900                  description712                  description
901                    "The encrypted LSP/SNP password";713                    "The encrypted LSP/SNP password";
902                }714                }
903              }715              }
904              container hmac-md5 {716              container hmac-md5 {
905                must "not(../text or ../keychain)";717                must "not(../text or ../keychain)";
906                presence "Indicates a hmac-md5 node is configured.";718                presence "Indicates a hmac-md5 node is configured.";
907                description719                description
908                  "Use HMAC-MD5 authentication";720                  "Use HMAC-MD5 authentication";
909                leaf encrypted {721                leaf encrypted {
910                  type xr:Proprietary-password;722                  type xr:Proprietary-password;
911                  mandatory true;723                  mandatory true;
912                  description724                  description
913                    "The encrypted LSP/SNP password";725                    "The encrypted LSP/SNP password";
914                }726                }
915              }727              }
916              container keychain {728              container keychain {
917                must "not(../text or ../hmac-md5)";729                must "not(../text or ../hmac-md5)";
918                presence "Indicates a keychain node is configured.";730                presence "Indicates a keychain node is configured.";
919                description731                description
920                  "Specifies a Key Chain name will follow";732                  "Specifies a Key Chain name will follow";
921                leaf keychain-name {733                leaf keychain-name {
922                  type string {734                  type string {
923                    length "1..1024" {735                    length "1..1024" {
924                      description736                      description
925                        "The Key Chain name";737                        "The Key Chain name";
926                    }738                    }
927                  }739                  }
928                  mandatory true;740                  mandatory true;
929                  description741                  description
930                    "Specifies a Key Chain name will follow";742                    "Specifies a Key Chain name will follow";
931                }743                }
932              }744              }
933              container send-only {745              container send-only {
934                must "../text or ../hmac-md5 or ../keychain";746                must "../text or ../hmac-md5 or ../keychain";
935                presence "Indicates a send-only node is configured.";747                presence "Indicates a send-only node is configured.";
936                description748                description
937                  "Authenticate outgoing LSPs/SNPs only";749                  "Authenticate outgoing LSPs/SNPs only";
938              }750              }
939              container snp {751              container snp {
940                description752                description
941                  "Specify SNP packets authentication mode";753                  "Specify SNP packets authentication mode";
942                container send-only {754                container send-only {
943                  must "../../text";755                  must "../../text";
944                  presence "Indicates a send-only node is configured.";756                  presence "Indicates a send-only node is configured.";
945                  description757                  description
946                    "Authenticate outgoing SNPs, no check on incoming SNPs";758                    "Authenticate outgoing SNPs, no check on incoming SNPs";
947                }759                }
948              }760              }
949              container enable-poi {761              container enable-poi {
950                must "../hmac-md5 or ../keychain";762                must "../hmac-md5 or ../keychain";
951                presence "Indicates a enable-poi node is configured.";763                presence "Indicates a enable-poi node is configured.";
952                description764                description
953                  "Enable purge originator identification";765                  "Enable purge originator identification";
954              }766              }
955            }767            }
956            container accept {768            container accept {
957              description769              description
958                "Use password for incoming authentication only";770                "Use password for incoming authentication only";
959              leaf encrypted {771              leaf encrypted {
960                type xr:Proprietary-password;772                type xr:Proprietary-password;
961                description773                description
962                  "The encrypted LSP/SNP password";774                  "The encrypted LSP/SNP password";
963              }775              }
964              container levels {776              container levels {
965                description777                description
966                  "Set lsp-password for one level only";778                  "Set lsp-password for one level only";
967                list level {779                list level {
968                  key "level-id";780                  key "level-id";
969                  description781                  description
970                    "Set lsp-password for one level only";782                    "Set lsp-password for one level only";
971                  leaf level-id {783                  leaf level-id {
972                    type uint32 {784                    type uint32 {
973                      range "1..2" {785                      range "1..2" {
974                        description786                        description
975                          "Set lsp-password for LSPs/SNPs at this level only";787                          "Set lsp-password for LSPs/SNPs at this level only";
976                      }788                      }
977                    }789                    }
978                    description790                    description
979                      "Set lsp-password for one level only";791                      "Set lsp-password for one level only";
980                  }792                  }
981                  leaf encrypted {793                  leaf encrypted {
982                    type xr:Proprietary-password;794                    type xr:Proprietary-password;
983                    mandatory true;795                    mandatory true;
984                    description796                    description
985                      "The encrypted LSP/SNP password";797                      "The encrypted LSP/SNP password";
986                  }798                  }
987                }799                }
988              }800              }
989            }801            }
990          }802          }
n991          container authentication-check {n
992            description
993              "Check authentication type and key of isis PDUs";
994            container disable {
995              presence "Indicates a disable node is configured.";
996              description
997                "Disable authentication check";
998            }
999          }
1000          leaf vrf-context {803          leaf vrf-context {
1001            type xr:Cisco-ios-xr-string {804            type xr:Cisco-ios-xr-string {
1002              length "1..32" {805              length "1..32" {
1003                description806                description
1004                  "VRF name (must not be 'default')";807                  "VRF name (must not be 'default')";
1005              }808              }
1006            }809            }
1007            description810            description
1008              "VRF context for this ISIS process";811              "VRF context for this ISIS process";
1009          }812          }
1010          container hostname {813          container hostname {
1011            description814            description
1012              "Dynamic hostname resolution for show/debug output";815              "Dynamic hostname resolution for show/debug output";
1013            container dynamic {816            container dynamic {
1014              description817              description
1015                "Dynamic hostname resolution";818                "Dynamic hostname resolution";
1016              container disable {819              container disable {
1017                presence "Indicates a disable node is configured.";820                presence "Indicates a disable node is configured.";
1018                description821                description
1019                  "Disable dynamic hostname resolution";822                  "Disable dynamic hostname resolution";
1020              }823              }
1021            }824            }
n1022          }n
1023          container lsp-fast-flooding {
1024            presence "Indicates a lsp-fast-flooding node is configured.";
1025            description
1026              "Enable and enter LSP fast flooding submode";
1027            leaf max-lsp-tx {
1028              type uint32 {
1029                range "33..5000" {
1030                  description
1031                    "Maximum LSP transmit rate (LSP per second), default is 1000";
1032                }
1033              }
1034              description
1035                "Set maximum LSP transmit rate";
1036            }
1037            leaf remote-psnp-delay {
1038              type uint32 {
1039                range "1..10000" {
1040                  description
1041                    "remote PSNP delay (milliseconds), default is 500";
1042                }
1043              }
1044              description
1045                "Set remote PSNP delay";
1046            }
1047          }
1048          leaf psnp-interval {
1049            type uint32 {
1050              range "1..5000" {
1051                description
1052                  "Longest wait to send PSNP, default is 50";
1053              }
1054            }
1055            description
1056              "Longest wait to send PSNP";
1057          }825          }
1058          container lsp-check-interval {826          container lsp-check-interval {
1059            description827            description
1060              "Set LSP checksum check interval";828              "Set LSP checksum check interval";
1061            leaf lsp-check-interval-time {829            leaf lsp-check-interval-time {
1062              type uint32 {830              type uint32 {
1063                range "10..65535" {831                range "10..65535" {
1064                  description832                  description
1065                    "LSP checksum check interval time in seconds";833                    "LSP checksum check interval time in seconds";
1066                }834                }
1067              }835              }
1068              description836              description
1069                "Set LSP checksum check interval";837                "Set LSP checksum check interval";
1070            }838            }
1071            container levels {839            container levels {
1072              description840              description
1073                "Set LSP check interval for one level only";841                "Set LSP check interval for one level only";
1074              list level {842              list level {
1075                key "level-id";843                key "level-id";
1076                description844                description
1077                  "Set LSP check interval for one level only";845                  "Set LSP check interval for one level only";
1078                leaf level-id {846                leaf level-id {
1079                  type uint32 {847                  type uint32 {
1080                    range "1..2" {848                    range "1..2" {
1081                      description849                      description
1082                        "Level";850                        "Level";
1083                    }851                    }
1084                  }852                  }
1085                  description853                  description
1086                    "Set LSP check interval for one level only";854                    "Set LSP check interval for one level only";
1087                }855                }
1088                leaf lsp-check-interval-time {856                leaf lsp-check-interval-time {
1089                  type uint32 {857                  type uint32 {
1090                    range "10..65535" {858                    range "10..65535" {
1091                      description859                      description
1092                        "LSP checksum check interval time in seconds";860                        "LSP checksum check interval time in seconds";
1093                    }861                    }
1094                  }862                  }
1095                  mandatory true;863                  mandatory true;
1096                  description864                  description
1097                    "Set LSP checksum check interval";865                    "Set LSP checksum check interval";
1098                }866                }
1099              }867              }
1100            }868            }
1101          }869          }
1102          container lsp-gen-interval {870          container lsp-gen-interval {
1103            must "maximum-wait or initial-wait or secondary-wait";871            must "maximum-wait or initial-wait or secondary-wait";
1104            presence "Indicates a lsp-gen-interval node is configured.";872            presence "Indicates a lsp-gen-interval node is configured.";
1105            description873            description
1106              "System and Pseudonode LSP generation scheduling parameters";874              "System and Pseudonode LSP generation scheduling parameters";
1107            leaf maximum-wait {875            leaf maximum-wait {
1108              type uint32 {876              type uint32 {
1109                range "0..120000" {877                range "0..120000" {
1110                  description878                  description
1111                    "Delay in milliseconds";879                    "Delay in milliseconds";
1112                }880                }
1113              }881              }
1114              description882              description
1115                "Maximum delay before generating an LSP";883                "Maximum delay before generating an LSP";
1116            }884            }
1117            leaf initial-wait {885            leaf initial-wait {
1118              type uint32 {886              type uint32 {
1119                range "0..120000" {887                range "0..120000" {
1120                  description888                  description
1121                    "Delay in milliseconds";889                    "Delay in milliseconds";
1122                }890                }
1123              }891              }
1124              description892              description
1125                "Initial delay before generating an LSP";893                "Initial delay before generating an LSP";
1126            }894            }
1127            leaf secondary-wait {895            leaf secondary-wait {
1128              type uint32 {896              type uint32 {
1129                range "0..120000" {897                range "0..120000" {
1130                  description898                  description
1131                    "Delay in milliseconds";899                    "Delay in milliseconds";
1132                }900                }
1133              }901              }
1134              description902              description
1135                "Secondary delay before generating an LSP";903                "Secondary delay before generating an LSP";
1136            }904            }
1137          }905          }
1138          container lsp-gen-interval-levels {906          container lsp-gen-interval-levels {
1139            description907            description
1140              "Set LSP generation interval for one level only";908              "Set LSP generation interval for one level only";
1141            list level {909            list level {
1142              must "maximum-wait or initial-wait or secondary-wait";910              must "maximum-wait or initial-wait or secondary-wait";
1143              key "level-id";911              key "level-id";
1144              description912              description
1145                "Set LSP generation interval for one level only";913                "Set LSP generation interval for one level only";
1146              leaf level-id {914              leaf level-id {
1147                type uint32 {915                type uint32 {
1148                  range "1..2" {916                  range "1..2" {
1149                    description917                    description
1150                      "Level";918                      "Level";
1151                  }919                  }
1152                }920                }
1153                description921                description
1154                  "Set LSP generation interval for one level only";922                  "Set LSP generation interval for one level only";
1155              }923              }
1156              leaf maximum-wait {924              leaf maximum-wait {
1157                type uint32 {925                type uint32 {
1158                  range "0..120000" {926                  range "0..120000" {
1159                    description927                    description
1160                      "Delay in milliseconds";928                      "Delay in milliseconds";
1161                  }929                  }
1162                }930                }
1163                description931                description
1164                  "Maximum delay before generating an LSP";932                  "Maximum delay before generating an LSP";
1165              }933              }
1166              leaf initial-wait {934              leaf initial-wait {
1167                type uint32 {935                type uint32 {
1168                  range "0..120000" {936                  range "0..120000" {
1169                    description937                    description
1170                      "Delay in milliseconds";938                      "Delay in milliseconds";
1171                  }939                  }
1172                }940                }
1173                description941                description
1174                  "Initial delay before generating an LSP";942                  "Initial delay before generating an LSP";
1175              }943              }
1176              leaf secondary-wait {944              leaf secondary-wait {
1177                type uint32 {945                type uint32 {
1178                  range "0..120000" {946                  range "0..120000" {
1179                    description947                    description
1180                      "Delay in milliseconds";948                      "Delay in milliseconds";
1181                  }949                  }
1182                }950                }
1183                description951                description
1184                  "Secondary delay before generating an LSP";952                  "Secondary delay before generating an LSP";
1185              }953              }
1186            }954            }
1187          }955          }
1188          container max-lsp-lifetime {956          container max-lsp-lifetime {
1189            description957            description
1190              "Set maximum LSP lifetime";958              "Set maximum LSP lifetime";
1191            leaf max-lsp-lifetime {959            leaf max-lsp-lifetime {
1192              type uint32 {960              type uint32 {
1193                range "1..65535" {961                range "1..65535" {
1194                  description962                  description
1195                    "Maximum LSP lifetime in seconds";963                    "Maximum LSP lifetime in seconds";
1196                }964                }
1197              }965              }
1198              description966              description
1199                "Set maximum LSP lifetime";967                "Set maximum LSP lifetime";
1200            }968            }
1201            container levels {969            container levels {
1202              description970              description
1203                "Set LSP regeneration interval for one level only";971                "Set LSP regeneration interval for one level only";
1204              list level {972              list level {
1205                key "level-id";973                key "level-id";
1206                description974                description
1207                  "Set LSP regeneration interval for one level only";975                  "Set LSP regeneration interval for one level only";
1208                leaf level-id {976                leaf level-id {
1209                  type uint32 {977                  type uint32 {
1210                    range "1..2" {978                    range "1..2" {
1211                      description979                      description
1212                        "Level";980                        "Level";
1213                    }981                    }
1214                  }982                  }
1215                  description983                  description
1216                    "Set LSP regeneration interval for one level only";984                    "Set LSP regeneration interval for one level only";
1217                }985                }
1218                leaf max-lsp-lifetime {986                leaf max-lsp-lifetime {
1219                  type uint32 {987                  type uint32 {
1220                    range "1..65535" {988                    range "1..65535" {
1221                      description989                      description
1222                        "Maximum LSP lifetime in seconds";990                        "Maximum LSP lifetime in seconds";
1223                    }991                    }
1224                  }992                  }
1225                  mandatory true;993                  mandatory true;
1226                  description994                  description
1227                    "Set maximum LSP lifetime";995                    "Set maximum LSP lifetime";
1228                }996                }
1229              }997              }
1230            }998            }
1231          }999          }
1232          container min-lsp-arrivaltime {1000          container min-lsp-arrivaltime {
1233            must "maximum-wait or initial-wait or secondary-wait";1001            must "maximum-wait or initial-wait or secondary-wait";
1234            presence "Indicates a min-lsp-arrivaltime node is configured.";1002            presence "Indicates a min-lsp-arrivaltime node is configured.";
1235            description1003            description
1236              "Set minimum arrival time of incoming LSPs";1004              "Set minimum arrival time of incoming LSPs";
1237            leaf maximum-wait {1005            leaf maximum-wait {
1238              type uint32 {1006              type uint32 {
1239                range "0..120000" {1007                range "0..120000" {
1240                  description1008                  description
1241                    "Delay in milliseconds";1009                    "Delay in milliseconds";
1242                }1010                }
1243              }1011              }
1244              description1012              description
1245                "Maximum delay expected to take since last LSP";1013                "Maximum delay expected to take since last LSP";
1246            }1014            }
1247            leaf initial-wait {1015            leaf initial-wait {
1248              type uint32 {1016              type uint32 {
1249                range "0..120000" {1017                range "0..120000" {
1250                  description1018                  description
1251                    "Delay in milliseconds";1019                    "Delay in milliseconds";
1252                }1020                }
1253              }1021              }
1254              description1022              description
1255                "Initial delay expected to take since last LSP";1023                "Initial delay expected to take since last LSP";
1256            }1024            }
1257            leaf secondary-wait {1025            leaf secondary-wait {
1258              type uint32 {1026              type uint32 {
1259                range "0..120000" {1027                range "0..120000" {
1260                  description1028                  description
1261                    "Delay in milliseconds";1029                    "Delay in milliseconds";
1262                }1030                }
1263              }1031              }
1264              description1032              description
1265                "Secondary delay expected to take since last LSP";1033                "Secondary delay expected to take since last LSP";
1266            }1034            }
1267          }1035          }
1268          container min-lsp-arrivaltime-levels {1036          container min-lsp-arrivaltime-levels {
1269            description1037            description
1270              "Set LSP arrival time for one level only";1038              "Set LSP arrival time for one level only";
1271            list level {1039            list level {
1272              must "maximum-wait or initial-wait or secondary-wait";1040              must "maximum-wait or initial-wait or secondary-wait";
1273              key "level-id";1041              key "level-id";
1274              description1042              description
1275                "Set LSP arrival time for one level only";1043                "Set LSP arrival time for one level only";
1276              leaf level-id {1044              leaf level-id {
1277                type uint32 {1045                type uint32 {
1278                  range "1..2" {1046                  range "1..2" {
1279                    description1047                    description
1280                      "Level";1048                      "Level";
1281                  }1049                  }
1282                }1050                }
1283                description1051                description
1284                  "Set LSP arrival time for one level only";1052                  "Set LSP arrival time for one level only";
1285              }1053              }
1286              leaf maximum-wait {1054              leaf maximum-wait {
1287                type uint32 {1055                type uint32 {
1288                  range "0..120000" {1056                  range "0..120000" {
1289                    description1057                    description
1290                      "Delay in milliseconds";1058                      "Delay in milliseconds";
1291                  }1059                  }
1292                }1060                }
1293                description1061                description
1294                  "Maximum delay expected to take since last LSP";1062                  "Maximum delay expected to take since last LSP";
1295              }1063              }
1296              leaf initial-wait {1064              leaf initial-wait {
1297                type uint32 {1065                type uint32 {
1298                  range "0..120000" {1066                  range "0..120000" {
1299                    description1067                    description
1300                      "Delay in milliseconds";1068                      "Delay in milliseconds";
1301                  }1069                  }
1302                }1070                }
1303                description1071                description
1304                  "Initial delay expected to take since last LSP";1072                  "Initial delay expected to take since last LSP";
1305              }1073              }
1306              leaf secondary-wait {1074              leaf secondary-wait {
1307                type uint32 {1075                type uint32 {
1308                  range "0..120000" {1076                  range "0..120000" {
1309                    description1077                    description
1310                      "Delay in milliseconds";1078                      "Delay in milliseconds";
1311                  }1079                  }
1312                }1080                }
1313                description1081                description
1314                  "Secondary delay expected to take since last LSP";1082                  "Secondary delay expected to take since last LSP";
1315              }1083              }
1316            }1084            }
1317          }1085          }
1318          container lsp-mtu {1086          container lsp-mtu {
1319            description1087            description
1320              "Set maximum LSP size";1088              "Set maximum LSP size";
1321            leaf lsp-mtu-size {1089            leaf lsp-mtu-size {
1322              type uint32 {1090              type uint32 {
1323                range "128..8979" {1091                range "128..8979" {
1324                  description1092                  description
1325                    "Max LSP size in bytes";1093                    "Max LSP size in bytes";
1326                }1094                }
1327              }1095              }
1328              description1096              description
1329                "Set maximum LSP size";1097                "Set maximum LSP size";
1330            }1098            }
1331            container levels {1099            container levels {
1332              description1100              description
1333                "Set LSP size for one level only";1101                "Set LSP size for one level only";
1334              list level {1102              list level {
1335                key "level-id";1103                key "level-id";
1336                description1104                description
1337                  "Set LSP size for one level only";1105                  "Set LSP size for one level only";
1338                leaf level-id {1106                leaf level-id {
1339                  type uint32 {1107                  type uint32 {
1340                    range "1..2" {1108                    range "1..2" {
1341                      description1109                      description
1342                        "Level";1110                        "Level";
1343                    }1111                    }
1344                  }1112                  }
1345                  description1113                  description
1346                    "Set LSP size for one level only";1114                    "Set LSP size for one level only";
1347                }1115                }
1348                leaf lsp-mtu-size {1116                leaf lsp-mtu-size {
1349                  type uint32 {1117                  type uint32 {
1350                    range "128..8979" {1118                    range "128..8979" {
1351                      description1119                      description
1352                        "Max LSP size in bytes";1120                        "Max LSP size in bytes";
1353                    }1121                    }
1354                  }1122                  }
1355                  mandatory true;1123                  mandatory true;
1356                  description1124                  description
1357                    "Set maximum LSP size";1125                    "Set maximum LSP size";
1358                }1126                }
1359              }1127              }
1360            }1128            }
1361          }1129          }
1362          container lsp-refresh-interval {1130          container lsp-refresh-interval {
1363            description1131            description
1364              "Set LSP refresh interval";1132              "Set LSP refresh interval";
1365            leaf lsp-refresh-interval-time {1133            leaf lsp-refresh-interval-time {
1366              type uint32 {1134              type uint32 {
1367                range "1..65535" {1135                range "1..65535" {
1368                  description1136                  description
1369                    "LSP refresh time in seconds";1137                    "LSP refresh time in seconds";
1370                }1138                }
1371              }1139              }
1372              description1140              description
1373                "Set LSP refresh interval";1141                "Set LSP refresh interval";
1374            }1142            }
1375            container levels {1143            container levels {
1376              description1144              description
1377                "Set LSP refresh interval for one level only";1145                "Set LSP refresh interval for one level only";
1378              list level {1146              list level {
1379                key "level-id";1147                key "level-id";
1380                description1148                description
1381                  "Set LSP refresh interval for one level only";1149                  "Set LSP refresh interval for one level only";
1382                leaf level-id {1150                leaf level-id {
1383                  type uint32 {1151                  type uint32 {
1384                    range "1..2" {1152                    range "1..2" {
1385                      description1153                      description
1386                        "Level";1154                        "Level";
1387                    }1155                    }
1388                  }1156                  }
1389                  description1157                  description
1390                    "Set LSP refresh interval for one level only";1158                    "Set LSP refresh interval for one level only";
1391                }1159                }
1392                leaf lsp-refresh-interval-time {1160                leaf lsp-refresh-interval-time {
1393                  type uint32 {1161                  type uint32 {
1394                    range "1..65535" {1162                    range "1..65535" {
1395                      description1163                      description
1396                        "LSP refresh time in seconds";1164                        "LSP refresh time in seconds";
1397                    }1165                    }
1398                  }1166                  }
1399                  mandatory true;1167                  mandatory true;
1400                  description1168                  description
1401                    "Set LSP refresh interval";1169                    "Set LSP refresh interval";
1402                }1170                }
1403              }1171              }
1404            }1172            }
1405          }1173          }
1406          container max-metric {1174          container max-metric {
1407            presence "Indicates a no-options node is configured.";1175            presence "Indicates a no-options node is configured.";
1408            description1176            description
1409              "Signal other routers to use us as transit option of last resort";1177              "Signal other routers to use us as transit option of last resort";
1410            container on-startup {1178            container on-startup {
1411              description1179              description
1412                "Set maximum metric temporarily after reboot";1180                "Set maximum metric temporarily after reboot";
1413              container advertise-maximum-metric {1181              container advertise-maximum-metric {
1414                must "not(../wait-for-bgp)";1182                must "not(../wait-for-bgp)";
1415                presence "Indicates a advertise-maximum-metric node is configured.";1183                presence "Indicates a advertise-maximum-metric node is configured.";
1416                description1184                description
1417                  "Time in seconds to advertise maximum metric after reboot";1185                  "Time in seconds to advertise maximum metric after reboot";
1418                leaf time-to-advertise {1186                leaf time-to-advertise {
1419                  type uint32 {1187                  type uint32 {
1420                    range "5..86400" {1188                    range "5..86400" {
1421                      description1189                      description
1422                        "Time in seconds to advertise maximum metric after reboot";1190                        "Time in seconds to advertise maximum metric after reboot";
1423                    }1191                    }
1424                  }1192                  }
1425                  mandatory true;1193                  mandatory true;
1426                  description1194                  description
1427                    "Time in seconds to advertise maximum metric after reboot";1195                    "Time in seconds to advertise maximum metric after reboot";
1428                }1196                }
1429              }1197              }
1430              container wait-for-bgp {1198              container wait-for-bgp {
1431                must "not(../advertise-maximum-metric)";1199                must "not(../advertise-maximum-metric)";
1432                presence "Indicates a wait-for-bgp node is configured.";1200                presence "Indicates a wait-for-bgp node is configured.";
1433                description1201                description
1434                  "Set maximum metric on startup until BGP signalsconvergence, or timeout";1202                  "Set maximum metric on startup until BGP signalsconvergence, or timeout";
1435              }1203              }
1436              container external {1204              container external {
1437                presence "Indicates a external node is configured.";1205                presence "Indicates a external node is configured.";
1438                description1206                description
1439                  "Override metric of prefixes learned from another protocol with maximum metric";1207                  "Override metric of prefixes learned from another protocol with maximum metric";
1440              }1208              }
1441              container interlevel {1209              container interlevel {
1442                presence "Indicates a interlevel node is configured.";1210                presence "Indicates a interlevel node is configured.";
1443                description1211                description
1444                  "Override metric of prefixes learned from another ISIS level with maximum metric";1212                  "Override metric of prefixes learned from another ISIS level with maximum metric";
1445              }1213              }
1446              container default-route {1214              container default-route {
1447                presence "Indicates a default-route node is configured.";1215                presence "Indicates a default-route node is configured.";
1448                description1216                description
1449                  "Override default route metric with maximum metric";1217                  "Override default route metric with maximum metric";
1450              }1218              }
1451              container srv6-locator {1219              container srv6-locator {
1452                presence "Indicates a srv6-locator node is configured.";1220                presence "Indicates a srv6-locator node is configured.";
1453                description1221                description
1454                  "Override segment routing ipv6 metric with maximum metric";1222                  "Override segment routing ipv6 metric with maximum metric";
1455              }1223              }
n1456              container te {n
1457                presence "Indicates a te node is configured.";
1458                description
1459                  "Apply max-metric to TE metric";
1460              }
1461              container delay {
1462                presence "Indicates a delay node is configured.";
1463                description
1464                  "Apply max-metric to delay metric";
1465              }
1466            }1224            }
1467          }1225          }
1468          container max-metric-levels {1226          container max-metric-levels {
1469            description1227            description
1470              "Set maximum metric for one level only";1228              "Set maximum metric for one level only";
1471            list level {1229            list level {
1472              key "level-id";1230              key "level-id";
1473              description1231              description
1474                "Set maximum metric for one level only";1232                "Set maximum metric for one level only";
1475              leaf level-id {1233              leaf level-id {
1476                type uint32 {1234                type uint32 {
1477                  range "1..2" {1235                  range "1..2" {
1478                    description1236                    description
1479                      "Level";1237                      "Level";
1480                  }1238                  }
1481                }1239                }
1482                description1240                description
1483                  "Set maximum metric for one level only";1241                  "Set maximum metric for one level only";
1484              }1242              }
1485              container advertise-maximum-metric {1243              container advertise-maximum-metric {
1486                must "not(../wait-for-bgp)";1244                must "not(../wait-for-bgp)";
1487                presence "Indicates a advertise-maximum-metric node is configured.";1245                presence "Indicates a advertise-maximum-metric node is configured.";
1488                description1246                description
1489                  "Time in seconds to advertise maximum metric after reboot";1247                  "Time in seconds to advertise maximum metric after reboot";
1490                leaf time-to-advertise {1248                leaf time-to-advertise {
1491                  type uint32 {1249                  type uint32 {
1492                    range "5..86400" {1250                    range "5..86400" {
1493                      description1251                      description
1494                        "Time in seconds to advertise maximum metric after reboot";1252                        "Time in seconds to advertise maximum metric after reboot";
1495                    }1253                    }
1496                  }1254                  }
1497                  mandatory true;1255                  mandatory true;
1498                  description1256                  description
1499                    "Time in seconds to advertise maximum metric after reboot";1257                    "Time in seconds to advertise maximum metric after reboot";
1500                }1258                }
1501              }1259              }
1502              container wait-for-bgp {1260              container wait-for-bgp {
1503                must "not(../advertise-maximum-metric)";1261                must "not(../advertise-maximum-metric)";
1504                presence "Indicates a wait-for-bgp node is configured.";1262                presence "Indicates a wait-for-bgp node is configured.";
1505                description1263                description
1506                  "Set maximum metric on startup until BGP signalsconvergence, or timeout";1264                  "Set maximum metric on startup until BGP signalsconvergence, or timeout";
1507              }1265              }
1508              container external {1266              container external {
1509                presence "Indicates a external node is configured.";1267                presence "Indicates a external node is configured.";
1510                description1268                description
1511                  "Override metric of prefixes learned from another protocol with maximum metric";1269                  "Override metric of prefixes learned from another protocol with maximum metric";
1512              }1270              }
1513              container interlevel {1271              container interlevel {
1514                presence "Indicates a interlevel node is configured.";1272                presence "Indicates a interlevel node is configured.";
1515                description1273                description
1516                  "Override metric of prefixes learned from another ISIS level with maximum metric";1274                  "Override metric of prefixes learned from another ISIS level with maximum metric";
1517              }1275              }
1518              container default-route {1276              container default-route {
1519                presence "Indicates a default-route node is configured.";1277                presence "Indicates a default-route node is configured.";
1520                description1278                description
1521                  "Override default route metric with maximum metric";1279                  "Override default route metric with maximum metric";
1522              }1280              }
1523              container srv6-locator {1281              container srv6-locator {
1524                presence "Indicates a srv6-locator node is configured.";1282                presence "Indicates a srv6-locator node is configured.";
1525                description1283                description
1526                  "Override segment routing ipv6 metric with maximum metric";1284                  "Override segment routing ipv6 metric with maximum metric";
1527              }1285              }
n1528              container te {n
1529                presence "Indicates a te node is configured.";
1530                description
1531                  "Apply max-metric to TE metric";
1532              }
1533              container delay {
1534                presence "Indicates a delay node is configured.";
1535                description
1536                  "Apply max-metric to delay metric";
1537              }
1538            }1286            }
1539          }1287          }
1540          container set-overload-bit {1288          container set-overload-bit {
1541            presence "Indicates a set-overloaded-bit node is configured.";1289            presence "Indicates a set-overloaded-bit node is configured.";
1542            description1290            description
1543              "Signal other routers not to use us in SPF";1291              "Signal other routers not to use us in SPF";
1544            container on-startup {1292            container on-startup {
1545              description1293              description
1546                "Set overload-bit temporarily after reboot";1294                "Set overload-bit temporarily after reboot";
1547              container advertise-as-overloaded {1295              container advertise-as-overloaded {
1548                must "not(../wait-for-bgp)";1296                must "not(../wait-for-bgp)";
1549                presence "Indicates a advertise-as-overloaded node is configured.";1297                presence "Indicates a advertise-as-overloaded node is configured.";
1550                description1298                description
1551                  "Time in seconds to advertise ourself as overloaded after reboot";1299                  "Time in seconds to advertise ourself as overloaded after reboot";
1552                leaf time-to-advertise {1300                leaf time-to-advertise {
1553                  type uint32 {1301                  type uint32 {
1554                    range "5..86400" {1302                    range "5..86400" {
1555                      description1303                      description
1556                        "Time in seconds to advertise ourself as overloaded after reboot";1304                        "Time in seconds to advertise ourself as overloaded after reboot";
1557                    }1305                    }
1558                  }1306                  }
1559                  mandatory true;1307                  mandatory true;
1560                  description1308                  description
1561                    "Time in seconds to advertise ourself as overloaded after reboot";1309                    "Time in seconds to advertise ourself as overloaded after reboot";
1562                }1310                }
1563              }1311              }
1564              container wait-for-bgp {1312              container wait-for-bgp {
1565                must "not(../advertise-as-overloaded)";1313                must "not(../advertise-as-overloaded)";
1566                presence "Indicates a wait-for-bgp node is configured.";1314                presence "Indicates a wait-for-bgp node is configured.";
1567                description1315                description
1568                  "Set overload bit on startup until BGP signals convergence, or timeout";1316                  "Set overload bit on startup until BGP signals convergence, or timeout";
1569              }1317              }
1570            }1318            }
1571            container advertise {1319            container advertise {
1572              description1320              description
1573                "If overload-bit set advertise the following types of IP prefixes";1321                "If overload-bit set advertise the following types of IP prefixes";
1574              container external {1322              container external {
1575                presence "Indicates a external node is configured.";1323                presence "Indicates a external node is configured.";
1576                description1324                description
1577                  "If overload-bit set advertise IP prefixes learned from other protocols";1325                  "If overload-bit set advertise IP prefixes learned from other protocols";
1578              }1326              }
1579              container interlevel {1327              container interlevel {
1580                presence "Indicates a interlevel node is configured.";1328                presence "Indicates a interlevel node is configured.";
1581                description1329                description
1582                  "If overload-bit set advertise IP prefixes learned from another ISIS level";1330                  "If overload-bit set advertise IP prefixes learned from another ISIS level";
1583              }1331              }
1584            }1332            }
1585          }1333          }
1586          container set-overload-bit-levels {1334          container set-overload-bit-levels {
1587            description1335            description
1588              "Set overload-bit for one level only";1336              "Set overload-bit for one level only";
1589            list level {1337            list level {
1590              key "level-id";1338              key "level-id";
1591              description1339              description
1592                "Set overload-bit for one level only";1340                "Set overload-bit for one level only";
1593              leaf level-id {1341              leaf level-id {
1594                type uint32 {1342                type uint32 {
1595                  range "1..2" {1343                  range "1..2" {
1596                    description1344                    description
1597                      "Level";1345                      "Level";
1598                  }1346                  }
1599                }1347                }
1600                description1348                description
1601                  "Set overload-bit for one level only";1349                  "Set overload-bit for one level only";
1602              }1350              }
1603              container on-startup {1351              container on-startup {
1604                description1352                description
1605                  "Set overload-bit temporarily after reboot";1353                  "Set overload-bit temporarily after reboot";
1606                container advertise-as-overloaded {1354                container advertise-as-overloaded {
1607                  must "not(../wait-for-bgp)";1355                  must "not(../wait-for-bgp)";
1608                  presence "Indicates a advertise-as-overloaded node is configured.";1356                  presence "Indicates a advertise-as-overloaded node is configured.";
1609                  description1357                  description
1610                    "Time in seconds to advertise ourself as overloaded after reboot";1358                    "Time in seconds to advertise ourself as overloaded after reboot";
1611                  leaf time-to-advertise {1359                  leaf time-to-advertise {
1612                    type uint32 {1360                    type uint32 {
1613                      range "5..86400" {1361                      range "5..86400" {
1614                        description1362                        description
1615                          "Time in seconds to advertise ourself as overloaded after reboot";1363                          "Time in seconds to advertise ourself as overloaded after reboot";
1616                      }1364                      }
1617                    }1365                    }
1618                    mandatory true;1366                    mandatory true;
1619                    description1367                    description
1620                      "Time in seconds to advertise ourself as overloaded after reboot";1368                      "Time in seconds to advertise ourself as overloaded after reboot";
1621                  }1369                  }
1622                }1370                }
1623                container wait-for-bgp {1371                container wait-for-bgp {
1624                  must "not(../advertise-as-overloaded)";1372                  must "not(../advertise-as-overloaded)";
1625                  presence "Indicates a wait-for-bgp node is configured.";1373                  presence "Indicates a wait-for-bgp node is configured.";
1626                  description1374                  description
1627                    "Set overload bit on startup until BGP signals convergence, or timeout";1375                    "Set overload bit on startup until BGP signals convergence, or timeout";
1628                }1376                }
1629              }1377              }
1630              container advertise {1378              container advertise {
1631                description1379                description
1632                  "If overload-bit set advertise the following types of IP prefixes";1380                  "If overload-bit set advertise the following types of IP prefixes";
1633                container external {1381                container external {
1634                  presence "Indicates a external node is configured.";1382                  presence "Indicates a external node is configured.";
1635                  description1383                  description
1636                    "If overload-bit set advertise IP prefixes learned from other protocols";1384                    "If overload-bit set advertise IP prefixes learned from other protocols";
1637                }1385                }
1638                container interlevel {1386                container interlevel {
1639                  presence "Indicates a interlevel node is configured.";1387                  presence "Indicates a interlevel node is configured.";
1640                  description1388                  description
1641                    "If overload-bit set advertise IP prefixes learned from another ISIS level";1389                    "If overload-bit set advertise IP prefixes learned from another ISIS level";
1642                }1390                }
1643              }1391              }
n1644            }n
1645          }
1646          container oor-set-overload-bit {
1647            description
1648              "Overload-bit setting when Out-Of-Resource (OOR)";
1649            container disable {
1650              presence "Indicates a disable node is configured.";
1651              description
1652                "Disable setting of overload-bit when OOR. ISIS will continue to participate in forwarding but its decision will be based on an incomplete link-state database. It may lead to routing loops and other forwarding failures. NOT recommended.";
1653            }1392            }
1654          }1393          }
1655          container nets {1394          container nets {
1656            description1395            description
1657              "A Network Entity Title (NET) for this process";1396              "A Network Entity Title (NET) for this process";
1658            list net {1397            list net {
1659              key "net-id";1398              key "net-id";
1660              description1399              description
1661                "A Network Entity Title (NET) for this process";1400                "A Network Entity Title (NET) for this process";
1662              leaf net-id {1401              leaf net-id {
1663                type string {1402                type string {
1664                  length "1..1024" {1403                  length "1..1024" {
1665                    description1404                    description
1666                      "NET (XX.XXXX. ... .XXXX.XX)";1405                      "NET (XX.XXXX. ... .XXXX.XX)";
1667                  }1406                  }
1668                }1407                }
1669                description1408                description
1670                  "A Network Entity Title (NET) for this process";1409                  "A Network Entity Title (NET) for this process";
1671              }1410              }
1672            }1411            }
1673          }1412          }
1674          container link-groups {1413          container link-groups {
1675            description1414            description
1676              "Link Group";1415              "Link Group";
1677            list link-group {1416            list link-group {
1678              key "link-group-name";1417              key "link-group-name";
1679              description1418              description
1680                "Link Group";1419                "Link Group";
1681              leaf link-group-name {1420              leaf link-group-name {
1682                type string {1421                type string {
1683                  length "1..1024" {1422                  length "1..1024" {
1684                    description1423                    description
1685                      "link group name";1424                      "link group name";
1686                  }1425                  }
1687                }1426                }
1688                description1427                description
1689                  "Link Group";1428                  "Link Group";
1690              }1429              }
1691              leaf minimum-members {1430              leaf minimum-members {
1692                type uint32 {1431                type uint32 {
1693                  range "2..64" {1432                  range "2..64" {
1694                    description1433                    description
1695                      "count";1434                      "count";
1696                  }1435                  }
1697                }1436                }
1698                description1437                description
1699                  "Minimum number of members in the link group";1438                  "Minimum number of members in the link group";
1700              }1439              }
1701              leaf revert-members {1440              leaf revert-members {
1702                type uint32 {1441                type uint32 {
1703                  range "2..64" {1442                  range "2..64" {
1704                    description1443                    description
1705                      "count";1444                      "count";
1706                  }1445                  }
1707                }1446                }
1708                description1447                description
1709                  "Number of members after which to revert in the link group";1448                  "Number of members after which to revert in the link group";
1710              }1449              }
1711              container metric-offset {1450              container metric-offset {
1712                description1451                description
1713                  "Configure the metric offset for link group";1452                  "Configure the metric offset for link group";
1714                container maximum {1453                container maximum {
1715                  presence "Indicates a maximum node is configured.";1454                  presence "Indicates a maximum node is configured.";
1716                  description1455                  description
1717                    "Maximum wide metric offset. All routers will exclude this link from their SPF";1456                    "Maximum wide metric offset. All routers will exclude this link from their SPF";
1718                }1457                }
1719                leaf default-metric-offset {1458                leaf default-metric-offset {
1720                  type uint32 {1459                  type uint32 {
1721                    range "1..16777214" {1460                    range "1..16777214" {
1722                      description1461                      description
1723                        "Default metric offset: <1-63> for narrow, <1-16777214> for wide";1462                        "Default metric offset: <1-63> for narrow, <1-16777214> for wide";
1724                    }1463                    }
1725                  }1464                  }
1726                  description1465                  description
1727                    "Default metric offset: <1-63> for narrow, <1-16777214> for wide";1466                    "Default metric offset: <1-63> for narrow, <1-16777214> for wide";
1728                }1467                }
1729              }1468              }
1730            }1469            }
1731          }1470          }
1732          container nsf {1471          container nsf {
1733            description1472            description
1734              "Allow non-stop forwarding (NSF) on next restart";1473              "Allow non-stop forwarding (NSF) on next restart";
1735            leaf lifetime {1474            leaf lifetime {
1736              type uint32 {1475              type uint32 {
1737                range "5..300" {1476                range "5..300" {
1738                  description1477                  description
1739                    "seconds";1478                    "seconds";
1740                }1479                }
1741              }1480              }
1742              description1481              description
1743                "Maximum route lifetime following restart (seconds)";1482                "Maximum route lifetime following restart (seconds)";
1744            }1483            }
1745            leaf interface-timer {1484            leaf interface-timer {
1746              type uint32 {1485              type uint32 {
1747                range "1..20" {1486                range "1..20" {
1748                  description1487                  description
1749                    "seconds";1488                    "seconds";
1750                }1489                }
1751              }1490              }
1752              description1491              description
1753                "Timer used to wait for a restart ACK (seconds)";1492                "Timer used to wait for a restart ACK (seconds)";
1754            }1493            }
1755            leaf interface-expires {1494            leaf interface-expires {
1756              type uint32 {1495              type uint32 {
1757                range "1..10" {1496                range "1..10" {
1758                  description1497                  description
1759                    "expiry count";1498                    "expiry count";
1760                }1499                }
1761              }1500              }
1762              description1501              description
1763                "# of times T1 can expire waiting for the restart ACK";1502                "# of times T1 can expire waiting for the restart ACK";
1764            }1503            }
1765            container cisco {1504            container cisco {
1766              must "not(../ietf)";1505              must "not(../ietf)";
1767              presence "Indicates a cisco node is configured.";1506              presence "Indicates a cisco node is configured.";
1768              description1507              description
1769                "Cisco Proprietary NSF restart";1508                "Cisco Proprietary NSF restart";
1770            }1509            }
1771            container ietf {1510            container ietf {
1772              must "not(../cisco)";1511              must "not(../cisco)";
1773              presence "Indicates a ietf node is configured.";1512              presence "Indicates a ietf node is configured.";
1774              description1513              description
1775                "IETF NSF restar";1514                "IETF NSF restar";
1776            }1515            }
1777          }1516          }
n1778          container hello-padding {n
1779            presence "Indicates a hello-padding node is configured.";
1780            description
1781              "Add padding to IS-IS hello packets";
1782            container disable {
1783              must "not(../sometimes)";
1784              presence "Indicates a disable node is configured.";
1785              description
1786                "Disable hello-padding";
1787            }
1788            container sometimes {
1789              must "not(../disable)";
1790              presence "Indicates a sometimes node is configured.";
1791              description
1792                "Enable hello-padding during adjacency formation only";
1793            }
1794          }
1795          container trace {1517          container trace {
1796            description1518            description
1797              "Set trace buffer parameters";1519              "Set trace buffer parameters";
1798            leaf mode {1520            leaf mode {
1799              type enumeration {1521              type enumeration {
1800                enum "off" {1522                enum "off" {
1801                  value 0;1523                  value 0;
1802                  description1524                  description
1803                    "No tracing";1525                    "No tracing";
1804                }1526                }
1805                enum "basic" {1527                enum "basic" {
1806                  value 1;1528                  value 1;
1807                  description1529                  description
1808                    "Basic tracing (less overhead)";1530                    "Basic tracing (less overhead)";
1809                }1531                }
1810                enum "enhanced" {1532                enum "enhanced" {
1811                  value 2;1533                  value 2;
1812                  description1534                  description
1813                    "Enhanced tracing (more overhead)";1535                    "Enhanced tracing (more overhead)";
1814                }1536                }
1815              }1537              }
1816              description1538              description
1817                "Set tracing type";1539                "Set tracing type";
1818            }1540            }
1819            leaf detailed {1541            leaf detailed {
1820              type uint32 {1542              type uint32 {
1821                range "1..1000000" {1543                range "1..1000000" {
1822                  description1544                  description
1823                    "Maximum number of trace entries";1545                    "Maximum number of trace entries";
1824                }1546                }
1825              }1547              }
1826              description1548              description
1827                "Buffer size for detailed traces";1549                "Buffer size for detailed traces";
1828            }1550            }
1829            leaf standard {1551            leaf standard {
1830              type uint32 {1552              type uint32 {
1831                range "1..1000000" {1553                range "1..1000000" {
1832                  description1554                  description
1833                    "Maximum number of trace entries";1555                    "Maximum number of trace entries";
1834                }1556                }
1835              }1557              }
1836              description1558              description
1837                "Buffer size for standard traces";1559                "Buffer size for standard traces";
1838            }1560            }
1839            leaf severe {1561            leaf severe {
1840              type uint32 {1562              type uint32 {
1841                range "1..1000000" {1563                range "1..1000000" {
1842                  description1564                  description
1843                    "Maximum number of trace entries";1565                    "Maximum number of trace entries";
1844                }1566                }
1845              }1567              }
1846              description1568              description
1847                "Buffer size for severe traces";1569                "Buffer size for severe traces";
1848            }1570            }
1849            leaf hello {1571            leaf hello {
1850              type uint32 {1572              type uint32 {
1851                range "1..1000000" {1573                range "1..1000000" {
1852                  description1574                  description
1853                    "Maximum number of trace entries";1575                    "Maximum number of trace entries";
1854                }1576                }
1855              }1577              }
1856              description1578              description
1857                "Buffer size for hello traces";1579                "Buffer size for hello traces";
1858            }1580            }
1859            leaf startup {1581            leaf startup {
1860              type uint32 {1582              type uint32 {
1861                range "1..1000000" {1583                range "1..1000000" {
1862                  description1584                  description
1863                    "Maximum number of trace entries";1585                    "Maximum number of trace entries";
1864                }1586                }
1865              }1587              }
1866              description1588              description
1867                "Buffer size for startup traces";1589                "Buffer size for startup traces";
1868            }1590            }
1869            leaf config {1591            leaf config {
1870              type uint32 {1592              type uint32 {
1871                range "1..1000000" {1593                range "1..1000000" {
1872                  description1594                  description
1873                    "Maximum number of trace entries";1595                    "Maximum number of trace entries";
1874                }1596                }
1875              }1597              }
1876              description1598              description
1877                "Buffer size for config traces";1599                "Buffer size for config traces";
1878            }1600            }
1879            leaf lspgen {1601            leaf lspgen {
1880              type uint32 {1602              type uint32 {
1881                range "1..1000000" {1603                range "1..1000000" {
1882                  description1604                  description
1883                    "Maximum number of trace entries";1605                    "Maximum number of trace entries";
1884                }1606                }
1885              }1607              }
1886              description1608              description
1887                "Buffer size for lspgen traces";1609                "Buffer size for lspgen traces";
1888            }1610            }
1889            leaf adj {1611            leaf adj {
1890              type uint32 {1612              type uint32 {
1891                range "1..1000000" {1613                range "1..1000000" {
1892                  description1614                  description
1893                    "Maximum number of trace entries";1615                    "Maximum number of trace entries";
1894                }1616                }
1895              }1617              }
1896              description1618              description
1897                "Buffer size for adj traces";1619                "Buffer size for adj traces";
1898            }1620            }
1899            leaf spf {1621            leaf spf {
1900              type uint32 {1622              type uint32 {
1901                range "1..1000000" {1623                range "1..1000000" {
1902                  description1624                  description
1903                    "Maximum number of trace entries";1625                    "Maximum number of trace entries";
1904                }1626                }
1905              }1627              }
1906              description1628              description
1907                "Buffer size for spf traces";1629                "Buffer size for spf traces";
1908            }1630            }
1909            leaf sr {1631            leaf sr {
1910              type uint32 {1632              type uint32 {
1911                range "1..1000000" {1633                range "1..1000000" {
1912                  description1634                  description
1913                    "Maximum number of trace entries";1635                    "Maximum number of trace entries";
1914                }1636                }
1915              }1637              }
1916              description1638              description
1917                "Buffer size for sr traces";1639                "Buffer size for sr traces";
1918            }1640            }
1919            leaf rib {1641            leaf rib {
1920              type uint32 {1642              type uint32 {
1921                range "1..1000000" {1643                range "1..1000000" {
1922                  description1644                  description
1923                    "Maximum number of trace entries";1645                    "Maximum number of trace entries";
1924                }1646                }
1925              }1647              }
1926              description1648              description
1927                "Buffer size for rib traces";1649                "Buffer size for rib traces";
1928            }1650            }
1929            leaf te {1651            leaf te {
1930              type uint32 {1652              type uint32 {
1931                range "1..1000000" {1653                range "1..1000000" {
1932                  description1654                  description
1933                    "Maximum number of trace entries";1655                    "Maximum number of trace entries";
1934                }1656                }
1935              }1657              }
1936              description1658              description
1937                "Buffer size for te traces";1659                "Buffer size for te traces";
1938            }1660            }
1939            leaf update {1661            leaf update {
1940              type uint32 {1662              type uint32 {
1941                range "1..1000000" {1663                range "1..1000000" {
1942                  description1664                  description
1943                    "Maximum number of trace entries";1665                    "Maximum number of trace entries";
1944                }1666                }
1945              }1667              }
1946              description1668              description
1947                "Buffer size for update traces";1669                "Buffer size for update traces";
1948            }1670            }
1949            leaf pkt {1671            leaf pkt {
1950              type uint32 {1672              type uint32 {
1951                range "1..1000000" {1673                range "1..1000000" {
1952                  description1674                  description
1953                    "Maximum number of trace entries";1675                    "Maximum number of trace entries";
1954                }1676                }
1955              }1677              }
1956              description1678              description
1957                "Buffer size for pkt traces";1679                "Buffer size for pkt traces";
1958            }1680            }
1959          }1681          }
1960          leaf triggers {1682          leaf triggers {
1961            type string {1683            type string {
1962              length "1..1024" {1684              length "1..1024" {
1963                description1685                description
1964                  "<adj>/<LSP>/<routes>";1686                  "<adj>/<LSP>/<routes>";
1965              }1687              }
1966            }1688            }
1967            description1689            description
1968              "Set logging triggers for performance testing";1690              "Set logging triggers for performance testing";
1969          }1691          }
1970          container address-families {1692          container address-families {
1971            description1693            description
1972              "Enter the IS-IS address-family configuration submode";1694              "Enter the IS-IS address-family configuration submode";
1973            list address-family {1695            list address-family {
1974              key "af-name saf-name";1696              key "af-name saf-name";
1975              description1697              description
1976                "IS-IS address family";1698                "IS-IS address family";
1977              leaf af-name {1699              leaf af-name {
1978                type Isis-af-name;1700                type Isis-af-name;
1979                description1701                description
1980                  "Address family name";1702                  "Address family name";
1981              }1703              }
1982              leaf saf-name {1704              leaf saf-name {
1983                type Isis-saf-name;1705                type Isis-saf-name;
1984                description1706                description
1985                  "Sub address family name";1707                  "Sub address family name";
1986              }1708              }
n1987              container prefix-unreachable {n
1988                presence "Indicates a prefix-unreachable node is configured.";
1989                description
1990                  "Prefix Unreachablity";
1991                leaf adv-maximum {
1992                  type uint32 {
1993                    range "1..65535" {
1994                      description
1995                        "Number of prefix-unreachable advertisements";
1996                    }
1997                  }
1998                  description
1999                    "Maximum number of prefix-unreachable advertisements";
2000                }
2001                leaf adv-lifetime {
2002                  type uint32 {
2003                    range "30..65535" {
2004                      description
2005                        "Lifetime value";
2006                    }
2007                  }
2008                  description
2009                    "Lifetime of the prefix-unreachable advertisements";
2010                }
2011                leaf adv-metric {
2012                  type uint32 {
2013                    range "4261412865..4294967294" {
2014                      description
2015                        "Metric value";
2016                    }
2017                  }
2018                  description
2019                    "Metric of the prefix-unreachable advertisements";
2020                }
2021                container rx-process-enable {
2022                  presence "Indicates a rx-process-enable node is configured.";
2023                  description
2024                    "Enable processing of received prefix-unreachable advertisements";
2025                }
2026              }
2027              container partition-detect {
2028                presence "Indicates a partition-detect node is configured.";
2029                description
2030                  "Detect area or domain partition";
2031                container abr-track-items {
2032                  description
2033                    "Configure ABR track-items";
2034                  list track {
2035                    key "address";
2036                    description
2037                      "Track ABR reachability";
2038                    leaf address {
2039                      type string;
2040                      description
2041                        "ABR address";
2042                    }
2043                  }
2044                }
2045                container asbr-track-items {
2046                  description
2047                    "Configure ASBR track-items";
2048                  list track {
2049                    key "address";
2050                    description
2051                      "Track ASBR reachability";
2052                    leaf address {
2053                      type string;
2054                      description
2055                        "Internal ASBR address";
2056                    }
2057                    leaf external-address {
2058                      type string;
2059                      mandatory true;
2060                      description
2061                        "External ASBR address";
2062                    }
2063                  }
2064                }
2065              }
2066              container default-information {1709              container default-information {
2067                description1710                description
2068                  "Control distribution of default information";1711                  "Control distribution of default information";
2069                container originate {1712                container originate {
2070                  presence "Indicates a originate node is configured.";1713                  presence "Indicates a originate node is configured.";
2071                  description1714                  description
2072                    "Distribute a default route";1715                    "Distribute a default route";
2073                  container external {1716                  container external {
2074                    presence "Indicates a external node is configured.";1717                    presence "Indicates a external node is configured.";
2075                    description1718                    description
2076                      "Originate default prefix as an external route";1719                      "Originate default prefix as an external route";
2077                  }1720                  }
2078                  leaf route-policy {1721                  leaf route-policy {
2079                    type xr:Route-policy-name;1722                    type xr:Route-policy-name;
2080                    description1723                    description
2081                      "Route policy reference";1724                      "Route policy reference";
2082                  }1725                  }
2083                }1726                }
2084              }1727              }
2085              container segment-routing {1728              container segment-routing {
2086                description1729                description
2087                  "Enable Segment Routing";1730                  "Enable Segment Routing";
2088                container mpls {1731                container mpls {
2089                  description1732                  description
2090                    "Enable Segment Routing using MPLS encapsulation";1733                    "Enable Segment Routing using MPLS encapsulation";
2091                  leaf sr-prefer {1734                  leaf sr-prefer {
2092                    when "../../../saf-name = 'unicast'";1735                    when "../../../saf-name = 'unicast'";
2093                    type boolean;1736                    type boolean;
2094                    description1737                    description
2095                      "Prefer segment routing labels over LDP labels";1738                      "Prefer segment routing labels over LDP labels";
2096                  }1739                  }
2097                  container unlabeled {1740                  container unlabeled {
2098                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";1741                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";
2099                    description1742                    description
2100                      "Options for prefixes without a segment-routing label";1743                      "Options for prefixes without a segment-routing label";
2101                    container protection {1744                    container protection {
2102                      description1745                      description
2103                        "TI-LFA and microloop protection";1746                        "TI-LFA and microloop protection";
2104                      leaf prefix-list {1747                      leaf prefix-list {
2105                        type xr:Cisco-ios-xr-string {1748                        type xr:Cisco-ios-xr-string {
2106                          length "1..1024" {1749                          length "1..1024" {
2107                            description1750                            description
2108                              "Prefix-list name";1751                              "Prefix-list name";
2109                          }1752                          }
2110                        }1753                        }
2111                        must "not(../route-policy or ../disable)";1754                        must "not(../route-policy or ../disable)";
2112                        description1755                        description
2113                          "Enable TI-LFA and microloop protection based on a prefix list";1756                          "Enable TI-LFA and microloop protection based on a prefix list";
2114                      }1757                      }
2115                      leaf route-policy {1758                      leaf route-policy {
2116                        type xr:Route-policy-name;1759                        type xr:Route-policy-name;
2117                        must "not(../prefix-list or ../disable)";1760                        must "not(../prefix-list or ../disable)";
2118                        description1761                        description
2119                          "Enable TI-LFA and microloop protection based on a route policy";1762                          "Enable TI-LFA and microloop protection based on a route policy";
2120                      }1763                      }
2121                      container disable {1764                      container disable {
2122                        must "not(../prefix-list or ../route-policy)";1765                        must "not(../prefix-list or ../route-policy)";
2123                        presence "Indicates a disable node is configured.";1766                        presence "Indicates a disable node is configured.";
2124                        description1767                        description
2125                          "Disable TI-LFA and microloop protection";1768                          "Disable TI-LFA and microloop protection";
2126                      }1769                      }
2127                    }1770                    }
2128                  }1771                  }
2129                  container connected-prefix-sid-map {1772                  container connected-prefix-sid-map {
2130                    presence "Indicates a connected-prefix-sid-map node is configured.";1773                    presence "Indicates a connected-prefix-sid-map node is configured.";
2131                    description1774                    description
2132                      "Enter connected prefix sid map submode";1775                      "Enter connected prefix sid map submode";
2133                    container prefixes {1776                    container prefixes {
2134                      when "../../../../saf-name = 'unicast'";1777                      when "../../../../saf-name = 'unicast'";
2135                      description1778                      description
2136                        "Specify prefix associated with this Prefix Segement ID";1779                        "Specify prefix associated with this Prefix Segement ID";
2137                      list prefix {1780                      list prefix {
2138                        must "index or absolute";1781                        must "index or absolute";
2139                        key "address-prefix";1782                        key "address-prefix";
2140                        description1783                        description
2141                          "Specify prefix associated with this Prefix Segement ID";1784                          "Specify prefix associated with this Prefix Segement ID";
2142                        leaf address-prefix {1785                        leaf address-prefix {
2143                          type inet:ip-prefix;1786                          type inet:ip-prefix;
2144                          description1787                          description
2145                            "Specify prefix associated with this Prefix Segement ID";1788                            "Specify prefix associated with this Prefix Segement ID";
2146                        }1789                        }
2147                        container index {1790                        container index {
2148                          must "not(../absolute)";1791                          must "not(../absolute)";
2149                          presence "Indicates a index node is configured.";1792                          presence "Indicates a index node is configured.";
2150                          description1793                          description
2151                            "Specify the index of Prefix Segement ID";1794                            "Specify the index of Prefix Segement ID";
2152                          leaf index-id {1795                          leaf index-id {
2153                            type uint32 {1796                            type uint32 {
2154                              range "0..1048575" {1797                              range "0..1048575" {
2155                                description1798                                description
2156                                  "The Prefix Segment ID index value";1799                                  "The Prefix Segment ID index value";
2157                              }1800                              }
2158                            }1801                            }
2159                            mandatory true;1802                            mandatory true;
2160                            description1803                            description
2161                              "Specify the index of Prefix Segement ID";1804                              "Specify the index of Prefix Segement ID";
2162                          }1805                          }
2163                        }1806                        }
2164                        container absolute {1807                        container absolute {
2165                          must "not(../index)";1808                          must "not(../index)";
2166                          presence "Indicates a absolute node is configured.";1809                          presence "Indicates a absolute node is configured.";
2167                          description1810                          description
2168                            "Specify the absolute value of Prefix Segement ID";1811                            "Specify the absolute value of Prefix Segement ID";
2169                          leaf absolute-value {1812                          leaf absolute-value {
2170                            type uint32 {1813                            type uint32 {
2171                              range "16000..1048575" {1814                              range "16000..1048575" {
2172                                description1815                                description
2173                                  "The Prefix Segment ID absolute value";1816                                  "The Prefix Segment ID absolute value";
2174                              }1817                              }
2175                            }1818                            }
2176                            mandatory true;1819                            mandatory true;
2177                            description1820                            description
2178                              "Specify the absolute value of Prefix Segement ID";1821                              "Specify the absolute value of Prefix Segement ID";
2179                          }1822                          }
2180                        }1823                        }
n2181                        leaf interface {n
2182                          type xr:Interface-name;
2183                          description
2184                            "Specify the interface associated with the prefix sid";
2185                        }
2186                        container php-disable {
2187                          presence "Indicates a php-disable node is configured.";
2188                          description
2189                            "Disable Penultimate Hop Popping";
2190                        }
2191                        container explicit-null {1824                        container explicit-null {
2192                          presence "Indicates a explicit-null node is configured.";1825                          presence "Indicates a explicit-null node is configured.";
2193                          description1826                          description
2194                            "Upstream neighbor must replace prefix-sid with explicit null label";1827                            "Upstream neighbor must replace prefix-sid with explicit null label";
2195                        }1828                        }
2196                      }1829                      }
2197                    }1830                    }
2198                    container flex-algo {1831                    container flex-algo {
2199                      when "../../../../saf-name = 'unicast'";1832                      when "../../../../saf-name = 'unicast'";
2200                      description1833                      description
2201                        "Specify the custom flex-algo algorithm to use";1834                        "Specify the custom flex-algo algorithm to use";
2202                      list prefix {1835                      list prefix {
2203                        must "index or absolute";1836                        must "index or absolute";
2204                        key "address-prefix flex-algo";1837                        key "address-prefix flex-algo";
2205                        description1838                        description
2206                          "Specify prefix associated with this Prefix Segement ID";1839                          "Specify prefix associated with this Prefix Segement ID";
2207                        leaf address-prefix {1840                        leaf address-prefix {
2208                          type inet:ip-prefix;1841                          type inet:ip-prefix;
2209                          description1842                          description
2210                            "Specify prefix associated with this Prefix Segement ID";1843                            "Specify prefix associated with this Prefix Segement ID";
2211                        }1844                        }
2212                        leaf flex-algo {1845                        leaf flex-algo {
2213                          type uint32 {1846                          type uint32 {
2214                            range "128..255" {1847                            range "128..255" {
2215                              description1848                              description
2216                                "Algo number";1849                                "Algo number";
2217                            }1850                            }
2218                          }1851                          }
2219                          description1852                          description
2220                            "Specify the custom flex-algo algorithm to use";1853                            "Specify the custom flex-algo algorithm to use";
2221                        }1854                        }
2222                        container index {1855                        container index {
2223                          must "not(../absolute)";1856                          must "not(../absolute)";
2224                          presence "Indicates a index node is configured.";1857                          presence "Indicates a index node is configured.";
2225                          description1858                          description
2226                            "Specify the index of Prefix Segement ID";1859                            "Specify the index of Prefix Segement ID";
2227                          leaf index-id {1860                          leaf index-id {
2228                            type uint32 {1861                            type uint32 {
2229                              range "0..1048575" {1862                              range "0..1048575" {
2230                                description1863                                description
2231                                  "The Prefix Segment ID index value";1864                                  "The Prefix Segment ID index value";
2232                              }1865                              }
2233                            }1866                            }
2234                            mandatory true;1867                            mandatory true;
2235                            description1868                            description
2236                              "Specify the index of Prefix Segement ID";1869                              "Specify the index of Prefix Segement ID";
2237                          }1870                          }
2238                        }1871                        }
2239                        container absolute {1872                        container absolute {
2240                          must "not(../index)";1873                          must "not(../index)";
2241                          presence "Indicates a absolute node is configured.";1874                          presence "Indicates a absolute node is configured.";
2242                          description1875                          description
2243                            "Specify the absolute value of Prefix Segement ID";1876                            "Specify the absolute value of Prefix Segement ID";
2244                          leaf absolute-value {1877                          leaf absolute-value {
2245                            type uint32 {1878                            type uint32 {
2246                              range "16000..1048575" {1879                              range "16000..1048575" {
2247                                description1880                                description
2248                                  "The Prefix Segment ID absolute value";1881                                  "The Prefix Segment ID absolute value";
2249                              }1882                              }
2250                            }1883                            }
2251                            mandatory true;1884                            mandatory true;
2252                            description1885                            description
2253                              "Specify the absolute value of Prefix Segement ID";1886                              "Specify the absolute value of Prefix Segement ID";
2254                          }1887                          }
2255                        }1888                        }
n2256                        leaf interface {n
2257                          type xr:Interface-name;
2258                          description
2259                            "Specify the interface associated with the prefix sid";
2260                        }
2261                        container php-disable {
2262                          presence "Indicates a php-disable node is configured.";
2263                          description
2264                            "Disable Penultimate Hop Popping";
2265                        }
2266                        container explicit-null {1889                        container explicit-null {
2267                          presence "Indicates a explicit-null node is configured.";1890                          presence "Indicates a explicit-null node is configured.";
2268                          description1891                          description
2269                            "Upstream neighbor must replace prefix-sid with explicit null label";1892                            "Upstream neighbor must replace prefix-sid with explicit null label";
2270                        }1893                        }
2271                      }1894                      }
2272                    }1895                    }
2273                    container strict-spf {1896                    container strict-spf {
2274                      when "../../../../saf-name = 'unicast'";1897                      when "../../../../saf-name = 'unicast'";
2275                      description1898                      description
2276                        "Use strict-spf";1899                        "Use strict-spf";
2277                      list prefix {1900                      list prefix {
2278                        must "index or absolute";1901                        must "index or absolute";
2279                        key "address-prefix";1902                        key "address-prefix";
2280                        description1903                        description
2281                          "Specify prefix associated with this Prefix Segement ID";1904                          "Specify prefix associated with this Prefix Segement ID";
2282                        leaf address-prefix {1905                        leaf address-prefix {
2283                          type inet:ip-prefix;1906                          type inet:ip-prefix;
2284                          description1907                          description
2285                            "Specify prefix associated with this Prefix Segement ID";1908                            "Specify prefix associated with this Prefix Segement ID";
2286                        }1909                        }
2287                        container index {1910                        container index {
2288                          must "not(../absolute)";1911                          must "not(../absolute)";
2289                          presence "Indicates a index node is configured.";1912                          presence "Indicates a index node is configured.";
2290                          description1913                          description
2291                            "Specify the index of Prefix Segement ID";1914                            "Specify the index of Prefix Segement ID";
2292                          leaf index-id {1915                          leaf index-id {
2293                            type uint32 {1916                            type uint32 {
2294                              range "0..1048575" {1917                              range "0..1048575" {
2295                                description1918                                description
2296                                  "The Prefix Segment ID index value";1919                                  "The Prefix Segment ID index value";
2297                              }1920                              }
2298                            }1921                            }
2299                            mandatory true;1922                            mandatory true;
2300                            description1923                            description
2301                              "Specify the index of Prefix Segement ID";1924                              "Specify the index of Prefix Segement ID";
2302                          }1925                          }
2303                        }1926                        }
2304                        container absolute {1927                        container absolute {
2305                          must "not(../index)";1928                          must "not(../index)";
2306                          presence "Indicates a absolute node is configured.";1929                          presence "Indicates a absolute node is configured.";
2307                          description1930                          description
2308                            "Specify the absolute value of Prefix Segement ID";1931                            "Specify the absolute value of Prefix Segement ID";
2309                          leaf absolute-value {1932                          leaf absolute-value {
2310                            type uint32 {1933                            type uint32 {
2311                              range "16000..1048575" {1934                              range "16000..1048575" {
2312                                description1935                                description
2313                                  "The Prefix Segment ID absolute value";1936                                  "The Prefix Segment ID absolute value";
2314                              }1937                              }
2315                            }1938                            }
2316                            mandatory true;1939                            mandatory true;
2317                            description1940                            description
2318                              "Specify the absolute value of Prefix Segement ID";1941                              "Specify the absolute value of Prefix Segement ID";
2319                          }1942                          }
2320                        }1943                        }
n2321                        leaf interface {n
2322                          type xr:Interface-name;
2323                          description
2324                            "Specify the interface associated with the prefix sid";
2325                        }
2326                        container php-disable {
2327                          presence "Indicates a php-disable node is configured.";
2328                          description
2329                            "Disable Penultimate Hop Popping";
2330                        }
2331                        container explicit-null {1944                        container explicit-null {
2332                          presence "Indicates a explicit-null node is configured.";1945                          presence "Indicates a explicit-null node is configured.";
2333                          description1946                          description
2334                            "Upstream neighbor must replace prefix-sid with explicit null label";1947                            "Upstream neighbor must replace prefix-sid with explicit null label";
2335                        }1948                        }
2336                      }1949                      }
2337                    }1950                    }
2338                  }1951                  }
2339                }1952                }
2340                container prefix-sid-map {1953                container prefix-sid-map {
2341                  when "../../saf-name = 'unicast'";1954                  when "../../saf-name = 'unicast'";
2342                  description1955                  description
2343                    "Enable prefix-sid-map";1956                    "Enable prefix-sid-map";
2344                  container receive {1957                  container receive {
2345                    presence "Indicates a receive node is configured.";1958                    presence "Indicates a receive node is configured.";
2346                    description1959                    description
2347                      "Use remote mapping server advertisements";1960                      "Use remote mapping server advertisements";
2348                    container disable {1961                    container disable {
2349                      presence "Indicates a disable node is configured.";1962                      presence "Indicates a disable node is configured.";
2350                      description1963                      description
2351                        "Disable the usage of remote mapping server advertisements";1964                        "Disable the usage of remote mapping server advertisements";
2352                    }1965                    }
2353                  }1966                  }
2354                  container advertise-local {1967                  container advertise-local {
2355                    presence "Indicates a advertise-local node is configured.";1968                    presence "Indicates a advertise-local node is configured.";
2356                    description1969                    description
2357                      "Advertise active local prefix-SID mappings";1970                      "Advertise active local prefix-SID mappings";
2358                    container domain-wide {1971                    container domain-wide {
2359                      presence "Indicates a domain-wide node is configured.";1972                      presence "Indicates a domain-wide node is configured.";
2360                      description1973                      description
2361                        "Domain wide prefix-SID mappings";1974                        "Domain wide prefix-SID mappings";
2362                    }1975                    }
2363                  }1976                  }
2364                }1977                }
2365                container bundle-member-adj-sid {1978                container bundle-member-adj-sid {
2366                  when "../../saf-name = 'unicast'";1979                  when "../../saf-name = 'unicast'";
2367                  presence "Indicates a bundle-member-adj-sid node is configured.";1980                  presence "Indicates a bundle-member-adj-sid node is configured.";
2368                  description1981                  description
2369                    "Enable per bundle member adjacency SID";1982                    "Enable per bundle member adjacency SID";
n2370                }n
2371                container labeled-only {
2372                  when "../../saf-name = 'unicast'";
2373                  presence "Indicates a labeled-only node is configured.";
2374                  description
2375                    "Only install SR labeled paths";
2376                }1983                }
2377                leaf protected-adjacency-sid-delay {1984                leaf protected-adjacency-sid-delay {
2378                  when "../../saf-name = 'unicast'";1985                  when "../../saf-name = 'unicast'";
2379                  type uint32 {1986                  type uint32 {
2380                    range "30..3600" {1987                    range "30..3600" {
2381                      description1988                      description
2382                        "seconds";1989                        "seconds";
2383                    }1990                    }
2384                  }1991                  }
2385                  description1992                  description
2386                    "Protected Adjacency SID deletion delay (seconds)";1993                    "Protected Adjacency SID deletion delay (seconds)";
2387                }1994                }
2388                container srv6 {1995                container srv6 {
2389                  when "../../af-name = 'ipv6' and ../../saf-name = 'unicast'";1996                  when "../../af-name = 'ipv6' and ../../saf-name = 'unicast'";
2390                  presence "Indicates a srv6 node is configured.";1997                  presence "Indicates a srv6 node is configured.";
2391                  description1998                  description
2392                    "Enable SRv6";1999                    "Enable SRv6";
2393                  container locators {2000                  container locators {
2394                    description2001                    description
2395                      "Enter SRv6 Locator submode";2002                      "Enter SRv6 Locator submode";
2396                    list locator {2003                    list locator {
2397                      key "locator-name";2004                      key "locator-name";
2398                      description2005                      description
2399                        "Enter SRv6 Locator submode";2006                        "Enter SRv6 Locator submode";
2400                      leaf locator-name {2007                      leaf locator-name {
2401                        type xr:Cisco-ios-xr-string {2008                        type xr:Cisco-ios-xr-string {
2402                          length "1..59" {2009                          length "1..59" {
2403                            description2010                            description
2404                              "Locator name";2011                              "Locator name";
2405                          }2012                          }
2406                        }2013                        }
2407                        description2014                        description
2408                          "Enter SRv6 Locator submode";2015                          "Enter SRv6 Locator submode";
2409                      }2016                      }
2410                      leaf level {2017                      leaf level {
2411                        type uint32 {2018                        type uint32 {
2412                          range "1..2" {2019                          range "1..2" {
2413                            description2020                            description
2414                              "Level";2021                              "Level";
2415                          }2022                          }
2416                        }2023                        }
2417                        description2024                        description
2418                          "Advertise the locator only in the specified level";2025                          "Advertise the locator only in the specified level";
2419                      }2026                      }
n2420                      container metric {n
2421                        description
2422                          "Advertise the locator metric for a given level";
2423                        leaf srv6-locator-metric {
2424                          type uint32 {
2425                            range "1..16777214" {
2426                              description
2427                                "Srv6 locator metric";
2428                            }
2429                          }
2430                          description
2431                            "Srv6 locator metric";
2432                        }
2433                        container levels {
2434                          description
2435                            "Set Metric for one level only";
2436                          list level {
2437                            must "srv6-locator-metric";
2438                            key "level-id";
2439                            description
2440                              "Set Metric for one level only";
2441                            leaf level-id {
2442                              type uint32 {
2443                                range "1..2" {
2444                                  description
2445                                    "Level";
2446                                }
2447                              }
2448                              description
2449                                "Set Metric for one level only";
2450                            }
2451                            leaf srv6-locator-metric {
2452                              type uint32 {
2453                                range "1..16777214" {
2454                                  description
2455                                    "Srv6 locator metric";
2456                                }
2457                              }
2458                              description
2459                                "Srv6 locator metric";
2460                            }
2461                          }
2462                        }
2463                      }
2464                      container tag {
2465                        description
2466                          "Advertise the locator tag for a given level";
2467                        leaf srv6-locator-tag {
2468                          type uint32 {
2469                            range "1..4294967295" {
2470                              description
2471                                "Srv6 locator tag";
2472                            }
2473                          }
2474                          description
2475                            "Srv6 locator tag";
2476                        }
2477                        container levels {
2478                          description
2479                            "Set Tag for one level only";
2480                          list level {
2481                            must "srv6-locator-tag";
2482                            key "level-id";
2483                            description
2484                              "Set Tag for one level only";
2485                            leaf level-id {
2486                              type uint32 {
2487                                range "1..2" {
2488                                  description
2489                                    "Level";
2490                                }
2491                              }
2492                              description
2493                                "Set Tag for one level only";
2494                            }
2495                            leaf srv6-locator-tag {
2496                              type uint32 {
2497                                range "1..4294967295" {
2498                                  description
2499                                    "Srv6 locator tag";
2500                                }
2501                              }
2502                              description
2503                                "Srv6 locator tag";
2504                            }
2505                          }
2506                        }
2507                      }
2508                    }2027                    }
2509                  }2028                  }
2510                }2029                }
2511              }2030              }
2512              container distance {2031              container distance {
2513                description2032                description
2514                  "Configure IS-IS administrative distances";2033                  "Configure IS-IS administrative distances";
2515                leaf global-administrative-distance {2034                leaf global-administrative-distance {
2516                  type uint32 {2035                  type uint32 {
2517                    range "1..255" {2036                    range "1..255" {
2518                      description2037                      description
2519                        "Administrative distance";2038                        "Administrative distance";
2520                    }2039                    }
2521                  }2040                  }
2522                  description2041                  description
2523                    "Configure IS-IS administrative distances";2042                    "Configure IS-IS administrative distances";
2524                }2043                }
2525                container route-sources {2044                container route-sources {
2526                  description2045                  description
2527                    "Route source for this distance";2046                    "Route source for this distance";
2528                  list route-source {2047                  list route-source {
2529                    key "address-prefix";2048                    key "address-prefix";
2530                    description2049                    description
2531                      "Route source for this distance";2050                      "Route source for this distance";
2532                    leaf address-prefix {2051                    leaf address-prefix {
2533                      type inet:ip-prefix;2052                      type inet:ip-prefix;
2534                      description2053                      description
2535                        "Route source for this distance";2054                        "Route source for this distance";
2536                    }2055                    }
2537                    leaf administrative-distance {2056                    leaf administrative-distance {
2538                      type uint32 {2057                      type uint32 {
2539                        range "1..255" {2058                        range "1..255" {
2540                          description2059                          description
2541                            "Administrative distance";2060                            "Administrative distance";
2542                        }2061                        }
2543                      }2062                      }
2544                      description2063                      description
2545                        "Configure IS-IS administrative distances";2064                        "Configure IS-IS administrative distances";
2546                    }2065                    }
2547                    leaf prefix-access-list {2066                    leaf prefix-access-list {
2548                      type string {2067                      type string {
2549                        length "1..1024" {2068                        length "1..1024" {
2550                          description2069                          description
2551                            "Prefix-list or access-list to filter routes for this distance";2070                            "Prefix-list or access-list to filter routes for this distance";
2552                        }2071                        }
2553                      }2072                      }
2554                      description2073                      description
2555                        "Prefix-list or access-list to filter routes for this distance";2074                        "Prefix-list or access-list to filter routes for this distance";
2556                    }2075                    }
2557                  }2076                  }
2558                }2077                }
2559              }2078              }
2560              container distribute-list {2079              container distribute-list {
2561                description2080                description
2562                  "Filter routes sent to the RIB";2081                  "Filter routes sent to the RIB";
2563                leaf prefix-list {2082                leaf prefix-list {
2564                  type xr:Cisco-ios-xr-string {2083                  type xr:Cisco-ios-xr-string {
2565                    length "1..1024" {2084                    length "1..1024" {
2566                      description2085                      description
2567                        "Prefix-list name";2086                        "Prefix-list name";
2568                    }2087                    }
2569                  }2088                  }
2570                  description2089                  description
2571                    "Filter routes based on a prefix list";2090                    "Filter routes based on a prefix list";
2572                }2091                }
2573                leaf route-policy {2092                leaf route-policy {
2574                  type xr:Route-policy-name;2093                  type xr:Route-policy-name;
2575                  description2094                  description
2576                    "Filter routes based on a route policy";2095                    "Filter routes based on a route policy";
2577                }2096                }
n2578                container ip-only {n
2579                  description
2580                    "Filter routes sent to the ip-only RIB";
2581                  leaf prefix-list {
2582                    type xr:Cisco-ios-xr-string {
2583                      length "1..1024" {
2584                        description
2585                          "Prefix-list name";
2586                      }
2587                    }
2588                    description
2589                      "Filter routes based on a prefix list";
2590                  }
2591                  leaf route-policy {
2592                    type xr:Route-policy-name;
2593                    description
2594                      "Filter routes based on a route policy";
2595                  }
2596                }
2597              }2097              }
2598              container redistribute {2098              container redistribute {
2599                description2099                description
2600                  "Redistribute information from another routing protocol";2100                  "Redistribute information from another routing protocol";
2601                container connected {2101                container connected {
2602                  presence "Indicates a connected node is configured.";2102                  presence "Indicates a connected node is configured.";
2603                  description2103                  description
2604                    "Connected routes";2104                    "Connected routes";
2605                  container level-1-2 {2105                  container level-1-2 {
2606                    must "not(../level-1) and not(../level-2)";2106                    must "not(../level-1) and not(../level-2)";
2607                    presence "Indicates a level-1-2 node is configured.";2107                    presence "Indicates a level-1-2 node is configured.";
2608                    description2108                    description
2609                      "Redistribute routes into both levels";2109                      "Redistribute routes into both levels";
2610                  }2110                  }
2611                  container level-2 {2111                  container level-2 {
2612                    must "not(../level-1-2) and not(../level-1)";2112                    must "not(../level-1-2) and not(../level-1)";
2613                    presence "Indicates a level-2 node is configured.";2113                    presence "Indicates a level-2 node is configured.";
2614                    description2114                    description
2615                      "Redistribute routes into level 2 only (the default)";2115                      "Redistribute routes into level 2 only (the default)";
2616                  }2116                  }
2617                  container level-1 {2117                  container level-1 {
2618                    must "not(../level-1-2) and not(../level-2)";2118                    must "not(../level-1-2) and not(../level-2)";
2619                    presence "Indicates a level-1 node is configured.";2119                    presence "Indicates a level-1 node is configured.";
2620                    description2120                    description
2621                      "Redistribute routes into level 1 only";2121                      "Redistribute routes into level 1 only";
2622                  }2122                  }
2623                  leaf metric {2123                  leaf metric {
2624                    type uint32 {2124                    type uint32 {
2625                      range "0..16777215" {2125                      range "0..16777215" {
2626                        description2126                        description
2627                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2127                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
2628                      }2128                      }
2629                    }2129                    }
2630                    description2130                    description
2631                      "Metric for redistributed routes";2131                      "Metric for redistributed routes";
2632                  }2132                  }
2633                  leaf route-policy {2133                  leaf route-policy {
2634                    type xr:Route-policy-name;2134                    type xr:Route-policy-name;
2635                    description2135                    description
2636                      "Route policy reference";2136                      "Route policy reference";
2637                  }2137                  }
2638                  leaf metric-type {2138                  leaf metric-type {
2639                    type enumeration {2139                    type enumeration {
2640                      enum "internal" {2140                      enum "internal" {
2641                        value 0;2141                        value 0;
2642                        description2142                        description
2643                          "Set IS-IS Internal metric type";2143                          "Set IS-IS Internal metric type";
2644                      }2144                      }
2645                      enum "external" {2145                      enum "external" {
2646                        value 1;2146                        value 1;
2647                        description2147                        description
2648                          "Set IS-IS External metric type";2148                          "Set IS-IS External metric type";
2649                      }2149                      }
2650                      enum "rib-metric-as-internal" {2150                      enum "rib-metric-as-internal" {
2651                        value 2;2151                        value 2;
2652                        description2152                        description
2653                          "Set IS-IS Internal metric type and use RIB metric";2153                          "Set IS-IS Internal metric type and use RIB metric";
2654                      }2154                      }
2655                      enum "rib-metric-as-external" {2155                      enum "rib-metric-as-external" {
2656                        value 3;2156                        value 3;
2657                        description2157                        description
2658                          "Set IS-IS External metric type and use RIB metric";2158                          "Set IS-IS External metric type and use RIB metric";
2659                      }2159                      }
2660                    }2160                    }
2661                    description2161                    description
2662                      "IS-IS metric type for redistributed routes";2162                      "IS-IS metric type for redistributed routes";
2663                  }2163                  }
2664                }2164                }
2665                list ospf {2165                list ospf {
2666                  when "../../af-name = 'ipv4'";2166                  when "../../af-name = 'ipv4'";
2667                  key "process-id";2167                  key "process-id";
2668                  description2168                  description
2669                    "Open Shortest Path First (OSPF)";2169                    "Open Shortest Path First (OSPF)";
2670                  leaf process-id {2170                  leaf process-id {
2671                    type string {2171                    type string {
2672                      length "1..1024" {2172                      length "1..1024" {
2673                        description2173                        description
2674                          "OSPF process ID";2174                          "OSPF process ID";
2675                      }2175                      }
2676                    }2176                    }
2677                    description2177                    description
2678                      "Open Shortest Path First (OSPF)";2178                      "Open Shortest Path First (OSPF)";
2679                  }2179                  }
2680                  container match {2180                  container match {
2681                    description2181                    description
2682                      "Redistribution of OSPF routes";2182                      "Redistribution of OSPF routes";
2683                    container internal {2183                    container internal {
2684                      must "not(../external or ../nssa-external)";2184                      must "not(../external or ../nssa-external)";
2685                      presence "Indicates a internal node is configured.";2185                      presence "Indicates a internal node is configured.";
2686                      description2186                      description
2687                        "Redistribute OSPF internal routes";2187                        "Redistribute OSPF internal routes";
2688                    }2188                    }
2689                    container external {2189                    container external {
2690                      must "not(../internal or ../nssa-external)";2190                      must "not(../internal or ../nssa-external)";
2691                      presence "Indicates a external node is configured.";2191                      presence "Indicates a external node is configured.";
2692                      description2192                      description
2693                        "Redistribute OSPF external routes";2193                        "Redistribute OSPF external routes";
2694                    }2194                    }
2695                    container nssa-external {2195                    container nssa-external {
2696                      must "not(../internal or ../external)";2196                      must "not(../internal or ../external)";
2697                      presence "Indicates a nssa-external node is configured.";2197                      presence "Indicates a nssa-external node is configured.";
2698                      description2198                      description
2699                        "Redistribute OSPF NSSA external routes";2199                        "Redistribute OSPF NSSA external routes";
2700                    }2200                    }
2701                  }2201                  }
2702                  container level-1-2 {2202                  container level-1-2 {
2703                    must "not(../level-1) and not(../level-2)";2203                    must "not(../level-1) and not(../level-2)";
2704                    presence "Indicates a level-1-2 node is configured.";2204                    presence "Indicates a level-1-2 node is configured.";
2705                    description2205                    description
2706                      "Redistribute routes into both levels";2206                      "Redistribute routes into both levels";
2707                  }2207                  }
2708                  container level-2 {2208                  container level-2 {
2709                    must "not(../level-1-2) and not(../level-1)";2209                    must "not(../level-1-2) and not(../level-1)";
2710                    presence "Indicates a level-2 node is configured.";2210                    presence "Indicates a level-2 node is configured.";
2711                    description2211                    description
2712                      "Redistribute routes into level 2 only (the default)";2212                      "Redistribute routes into level 2 only (the default)";
2713                  }2213                  }
2714                  container level-1 {2214                  container level-1 {
2715                    must "not(../level-1-2) and not(../level-2)";2215                    must "not(../level-1-2) and not(../level-2)";
2716                    presence "Indicates a level-1 node is configured.";2216                    presence "Indicates a level-1 node is configured.";
2717                    description2217                    description
2718                      "Redistribute routes into level 1 only";2218                      "Redistribute routes into level 1 only";
2719                  }2219                  }
2720                  leaf metric {2220                  leaf metric {
2721                    type uint32 {2221                    type uint32 {
2722                      range "0..16777215" {2222                      range "0..16777215" {
2723                        description2223                        description
2724                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2224                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
2725                      }2225                      }
2726                    }2226                    }
2727                    description2227                    description
2728                      "Metric for redistributed routes";2228                      "Metric for redistributed routes";
2729                  }2229                  }
2730                  leaf route-policy {2230                  leaf route-policy {
2731                    type xr:Route-policy-name;2231                    type xr:Route-policy-name;
2732                    description2232                    description
2733                      "Route policy reference";2233                      "Route policy reference";
2734                  }2234                  }
2735                  leaf metric-type {2235                  leaf metric-type {
2736                    type enumeration {2236                    type enumeration {
2737                      enum "internal" {2237                      enum "internal" {
2738                        value 0;2238                        value 0;
2739                        description2239                        description
2740                          "Set IS-IS Internal metric type";2240                          "Set IS-IS Internal metric type";
2741                      }2241                      }
2742                      enum "external" {2242                      enum "external" {
2743                        value 1;2243                        value 1;
2744                        description2244                        description
2745                          "Set IS-IS External metric type";2245                          "Set IS-IS External metric type";
2746                      }2246                      }
2747                      enum "rib-metric-as-internal" {2247                      enum "rib-metric-as-internal" {
2748                        value 2;2248                        value 2;
2749                        description2249                        description
2750                          "Set IS-IS Internal metric type and use RIB metric";2250                          "Set IS-IS Internal metric type and use RIB metric";
2751                      }2251                      }
2752                      enum "rib-metric-as-external" {2252                      enum "rib-metric-as-external" {
2753                        value 3;2253                        value 3;
2754                        description2254                        description
2755                          "Set IS-IS External metric type and use RIB metric";2255                          "Set IS-IS External metric type and use RIB metric";
2756                      }2256                      }
2757                    }2257                    }
2758                    description2258                    description
2759                      "IS-IS metric type for redistributed routes";2259                      "IS-IS metric type for redistributed routes";
2760                  }2260                  }
2761                }2261                }
2762                list ospfv3 {2262                list ospfv3 {
2763                  when "../../af-name = 'ipv6'";2263                  when "../../af-name = 'ipv6'";
2764                  key "process-id";2264                  key "process-id";
2765                  description2265                  description
2766                    "Open Shortest Path First (OSPFv3)";2266                    "Open Shortest Path First (OSPFv3)";
2767                  leaf process-id {2267                  leaf process-id {
2768                    type string {2268                    type string {
2769                      length "1..1024" {2269                      length "1..1024" {
2770                        description2270                        description
2771                          "OSPF process ID";2271                          "OSPF process ID";
2772                      }2272                      }
2773                    }2273                    }
2774                    description2274                    description
2775                      "Open Shortest Path First (OSPFv3)";2275                      "Open Shortest Path First (OSPFv3)";
2776                  }2276                  }
2777                  container match {2277                  container match {
2778                    description2278                    description
2779                      "Redistribution of OSPF routes";2279                      "Redistribution of OSPF routes";
2780                    container internal {2280                    container internal {
2781                      must "not(../external or ../nssa-external)";2281                      must "not(../external or ../nssa-external)";
2782                      presence "Indicates a internal node is configured.";2282                      presence "Indicates a internal node is configured.";
2783                      description2283                      description
2784                        "Redistribute OSPF internal routes";2284                        "Redistribute OSPF internal routes";
2785                    }2285                    }
2786                    container external {2286                    container external {
2787                      must "not(../internal or ../nssa-external)";2287                      must "not(../internal or ../nssa-external)";
2788                      presence "Indicates a external node is configured.";2288                      presence "Indicates a external node is configured.";
2789                      description2289                      description
2790                        "Redistribute OSPF external routes";2290                        "Redistribute OSPF external routes";
2791                    }2291                    }
2792                    container nssa-external {2292                    container nssa-external {
2793                      must "not(../internal or ../external)";2293                      must "not(../internal or ../external)";
2794                      presence "Indicates a nssa-external node is configured.";2294                      presence "Indicates a nssa-external node is configured.";
2795                      description2295                      description
2796                        "Redistribute OSPF NSSA external routes";2296                        "Redistribute OSPF NSSA external routes";
2797                    }2297                    }
2798                  }2298                  }
2799                  container level-1-2 {2299                  container level-1-2 {
2800                    must "not(../level-1) and not(../level-2)";2300                    must "not(../level-1) and not(../level-2)";
2801                    presence "Indicates a level-1-2 node is configured.";2301                    presence "Indicates a level-1-2 node is configured.";
2802                    description2302                    description
2803                      "Redistribute routes into both levels";2303                      "Redistribute routes into both levels";
2804                  }2304                  }
2805                  container level-2 {2305                  container level-2 {
2806                    must "not(../level-1-2) and not(../level-1)";2306                    must "not(../level-1-2) and not(../level-1)";
2807                    presence "Indicates a level-2 node is configured.";2307                    presence "Indicates a level-2 node is configured.";
2808                    description2308                    description
2809                      "Redistribute routes into level 2 only (the default)";2309                      "Redistribute routes into level 2 only (the default)";
2810                  }2310                  }
2811                  container level-1 {2311                  container level-1 {
2812                    must "not(../level-1-2) and not(../level-2)";2312                    must "not(../level-1-2) and not(../level-2)";
2813                    presence "Indicates a level-1 node is configured.";2313                    presence "Indicates a level-1 node is configured.";
2814                    description2314                    description
2815                      "Redistribute routes into level 1 only";2315                      "Redistribute routes into level 1 only";
2816                  }2316                  }
2817                  leaf metric {2317                  leaf metric {
2818                    type uint32 {2318                    type uint32 {
2819                      range "0..16777215" {2319                      range "0..16777215" {
2820                        description2320                        description
2821                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2321                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
2822                      }2322                      }
2823                    }2323                    }
2824                    description2324                    description
2825                      "Metric for redistributed routes";2325                      "Metric for redistributed routes";
2826                  }2326                  }
2827                  leaf route-policy {2327                  leaf route-policy {
2828                    type xr:Route-policy-name;2328                    type xr:Route-policy-name;
2829                    description2329                    description
2830                      "Route policy reference";2330                      "Route policy reference";
2831                  }2331                  }
2832                  leaf metric-type {2332                  leaf metric-type {
2833                    type enumeration {2333                    type enumeration {
2834                      enum "internal" {2334                      enum "internal" {
2835                        value 0;2335                        value 0;
2836                        description2336                        description
2837                          "Set IS-IS Internal metric type";2337                          "Set IS-IS Internal metric type";
2838                      }2338                      }
2839                      enum "external" {2339                      enum "external" {
2840                        value 1;2340                        value 1;
2841                        description2341                        description
2842                          "Set IS-IS External metric type";2342                          "Set IS-IS External metric type";
2843                      }2343                      }
2844                      enum "rib-metric-as-internal" {2344                      enum "rib-metric-as-internal" {
2845                        value 2;2345                        value 2;
2846                        description2346                        description
2847                          "Set IS-IS Internal metric type and use RIB metric";2347                          "Set IS-IS Internal metric type and use RIB metric";
2848                      }2348                      }
2849                      enum "rib-metric-as-external" {2349                      enum "rib-metric-as-external" {
2850                        value 3;2350                        value 3;
2851                        description2351                        description
2852                          "Set IS-IS External metric type and use RIB metric";2352                          "Set IS-IS External metric type and use RIB metric";
2853                      }2353                      }
2854                    }2354                    }
2855                    description2355                    description
2856                      "IS-IS metric type for redistributed routes";2356                      "IS-IS metric type for redistributed routes";
2857                  }2357                  }
2858                }2358                }
2859                container static {2359                container static {
2860                  presence "Indicates a static node is configured.";2360                  presence "Indicates a static node is configured.";
2861                  description2361                  description
2862                    "Static routes";2362                    "Static routes";
2863                  container level-1-2 {2363                  container level-1-2 {
2864                    must "not(../level-2) and not(../level-1)";2364                    must "not(../level-2) and not(../level-1)";
2865                    presence "Indicates a level-1-2 node is configured.";2365                    presence "Indicates a level-1-2 node is configured.";
2866                    description2366                    description
2867                      "Redistribute routes into both levels";2367                      "Redistribute routes into both levels";
2868                  }2368                  }
2869                  container level-2 {2369                  container level-2 {
2870                    must "not(../level-1-2) and not(../level-1)";2370                    must "not(../level-1-2) and not(../level-1)";
2871                    presence "Indicates a level-2 node is configured.";2371                    presence "Indicates a level-2 node is configured.";
2872                    description2372                    description
2873                      "Redistribute routes into level 2 only (the default)";2373                      "Redistribute routes into level 2 only (the default)";
2874                  }2374                  }
2875                  container level-1 {2375                  container level-1 {
2876                    must "not(../level-1-2) and not(../level-2)";2376                    must "not(../level-1-2) and not(../level-2)";
2877                    presence "Indicates a level-1 node is configured.";2377                    presence "Indicates a level-1 node is configured.";
2878                    description2378                    description
2879                      "Redistribute routes into level 1 only";2379                      "Redistribute routes into level 1 only";
2880                  }2380                  }
2881                  leaf metric {2381                  leaf metric {
2882                    type uint32 {2382                    type uint32 {
2883                      range "0..16777215" {2383                      range "0..16777215" {
2884                        description2384                        description
2885                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2385                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
2886                      }2386                      }
2887                    }2387                    }
2888                    description2388                    description
2889                      "Metric for redistributed routes";2389                      "Metric for redistributed routes";
2890                  }2390                  }
2891                  leaf route-policy {2391                  leaf route-policy {
2892                    type xr:Route-policy-name;2392                    type xr:Route-policy-name;
2893                    description2393                    description
2894                      "Route policy reference";2394                      "Route policy reference";
2895                  }2395                  }
2896                  leaf metric-type {2396                  leaf metric-type {
2897                    type enumeration {2397                    type enumeration {
2898                      enum "internal" {2398                      enum "internal" {
2899                        value 0;2399                        value 0;
2900                        description2400                        description
2901                          "Set IS-IS Internal metric type";2401                          "Set IS-IS Internal metric type";
2902                      }2402                      }
2903                      enum "external" {2403                      enum "external" {
2904                        value 1;2404                        value 1;
2905                        description2405                        description
2906                          "Set IS-IS External metric type";2406                          "Set IS-IS External metric type";
2907                      }2407                      }
2908                      enum "rib-metric-as-internal" {2408                      enum "rib-metric-as-internal" {
2909                        value 2;2409                        value 2;
2910                        description2410                        description
2911                          "Set IS-IS Internal metric type and use RIB metric";2411                          "Set IS-IS Internal metric type and use RIB metric";
2912                      }2412                      }
2913                      enum "rib-metric-as-external" {2413                      enum "rib-metric-as-external" {
2914                        value 3;2414                        value 3;
2915                        description2415                        description
2916                          "Set IS-IS External metric type and use RIB metric";2416                          "Set IS-IS External metric type and use RIB metric";
2917                      }2417                      }
2918                    }2418                    }
2919                    description2419                    description
2920                      "IS-IS metric type for redistributed routes";2420                      "IS-IS metric type for redistributed routes";
2921                  }2421                  }
2922                }2422                }
2923                container subscriber {2423                container subscriber {
2924                  presence "Indicates a subscriber node is configured.";2424                  presence "Indicates a subscriber node is configured.";
2925                  description2425                  description
2926                    "Subscriber routes";2426                    "Subscriber routes";
2927                  container level-1-2 {2427                  container level-1-2 {
2928                    must "not(../level-2) and not(../level-1)";2428                    must "not(../level-2) and not(../level-1)";
2929                    presence "Indicates a level-1-2 node is configured.";2429                    presence "Indicates a level-1-2 node is configured.";
2930                    description2430                    description
2931                      "Redistribute routes into both levels";2431                      "Redistribute routes into both levels";
2932                  }2432                  }
2933                  container level-2 {2433                  container level-2 {
2934                    must "not(../level-1-2) and not(../level-1)";2434                    must "not(../level-1-2) and not(../level-1)";
2935                    presence "Indicates a level-2 node is configured.";2435                    presence "Indicates a level-2 node is configured.";
2936                    description2436                    description
2937                      "Redistribute routes into level 2 only (the default)";2437                      "Redistribute routes into level 2 only (the default)";
2938                  }2438                  }
2939                  container level-1 {2439                  container level-1 {
2940                    must "not(../level-1-2) and not(../level-2)";2440                    must "not(../level-1-2) and not(../level-2)";
2941                    presence "Indicates a level-1 node is configured.";2441                    presence "Indicates a level-1 node is configured.";
2942                    description2442                    description
2943                      "Redistribute routes into level 1 only";2443                      "Redistribute routes into level 1 only";
2944                  }2444                  }
2945                  leaf metric {2445                  leaf metric {
2946                    type uint32 {2446                    type uint32 {
2947                      range "0..16777215" {2447                      range "0..16777215" {
2948                        description2448                        description
2949                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2449                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
2950                      }2450                      }
2951                    }2451                    }
2952                    description2452                    description
2953                      "Metric for redistributed routes";2453                      "Metric for redistributed routes";
2954                  }2454                  }
2955                  leaf route-policy {2455                  leaf route-policy {
2956                    type xr:Route-policy-name;2456                    type xr:Route-policy-name;
2957                    description2457                    description
2958                      "Route policy reference";2458                      "Route policy reference";
2959                  }2459                  }
2960                  leaf metric-type {2460                  leaf metric-type {
2961                    type enumeration {2461                    type enumeration {
2962                      enum "internal" {2462                      enum "internal" {
2963                        value 0;2463                        value 0;
2964                        description2464                        description
2965                          "Set IS-IS Internal metric type";2465                          "Set IS-IS Internal metric type";
2966                      }2466                      }
2967                      enum "external" {2467                      enum "external" {
2968                        value 1;2468                        value 1;
2969                        description2469                        description
2970                          "Set IS-IS External metric type";2470                          "Set IS-IS External metric type";
2971                      }2471                      }
2972                      enum "rib-metric-as-internal" {2472                      enum "rib-metric-as-internal" {
2973                        value 2;2473                        value 2;
2974                        description2474                        description
2975                          "Set IS-IS Internal metric type and use RIB metric";2475                          "Set IS-IS Internal metric type and use RIB metric";
2976                      }2476                      }
2977                      enum "rib-metric-as-external" {2477                      enum "rib-metric-as-external" {
2978                        value 3;2478                        value 3;
2979                        description2479                        description
2980                          "Set IS-IS External metric type and use RIB metric";2480                          "Set IS-IS External metric type and use RIB metric";
2981                      }2481                      }
2982                    }2482                    }
2983                    description2483                    description
2984                      "IS-IS metric type for redistributed routes";2484                      "IS-IS metric type for redistributed routes";
2985                  }2485                  }
2986                }2486                }
2987                container rip {2487                container rip {
2988                  presence "Indicates a rip node is configured.";2488                  presence "Indicates a rip node is configured.";
2989                  description2489                  description
2990                    "RIP routes";2490                    "RIP routes";
2991                  container level-1-2 {2491                  container level-1-2 {
2992                    must "not(../level-2) and not(../level-1)";2492                    must "not(../level-2) and not(../level-1)";
2993                    presence "Indicates a level-1-2 node is configured.";2493                    presence "Indicates a level-1-2 node is configured.";
2994                    description2494                    description
2995                      "Redistribute routes into both levels";2495                      "Redistribute routes into both levels";
2996                  }2496                  }
2997                  container level-2 {2497                  container level-2 {
2998                    must "not(../level-1-2) and not(../level-1)";2498                    must "not(../level-1-2) and not(../level-1)";
2999                    presence "Indicates a level-2 node is configured.";2499                    presence "Indicates a level-2 node is configured.";
3000                    description2500                    description
3001                      "Redistribute routes into level 2 only (the default)";2501                      "Redistribute routes into level 2 only (the default)";
3002                  }2502                  }
3003                  container level-1 {2503                  container level-1 {
3004                    must "not(../level-1-2) and not(../level-2)";2504                    must "not(../level-1-2) and not(../level-2)";
3005                    presence "Indicates a level-1 node is configured.";2505                    presence "Indicates a level-1 node is configured.";
3006                    description2506                    description
3007                      "Redistribute routes into level 1 only";2507                      "Redistribute routes into level 1 only";
3008                  }2508                  }
3009                  leaf metric {2509                  leaf metric {
3010                    type uint32 {2510                    type uint32 {
3011                      range "0..16777215" {2511                      range "0..16777215" {
3012                        description2512                        description
3013                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2513                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
3014                      }2514                      }
3015                    }2515                    }
3016                    description2516                    description
3017                      "Metric for redistributed routes";2517                      "Metric for redistributed routes";
3018                  }2518                  }
3019                  leaf route-policy {2519                  leaf route-policy {
3020                    type xr:Route-policy-name;2520                    type xr:Route-policy-name;
3021                    description2521                    description
3022                      "Route policy reference";2522                      "Route policy reference";
3023                  }2523                  }
3024                  leaf metric-type {2524                  leaf metric-type {
3025                    type enumeration {2525                    type enumeration {
3026                      enum "internal" {2526                      enum "internal" {
3027                        value 0;2527                        value 0;
3028                        description2528                        description
3029                          "Set IS-IS Internal metric type";2529                          "Set IS-IS Internal metric type";
3030                      }2530                      }
3031                      enum "external" {2531                      enum "external" {
3032                        value 1;2532                        value 1;
3033                        description2533                        description
3034                          "Set IS-IS External metric type";2534                          "Set IS-IS External metric type";
3035                      }2535                      }
3036                      enum "rib-metric-as-internal" {2536                      enum "rib-metric-as-internal" {
3037                        value 2;2537                        value 2;
3038                        description2538                        description
3039                          "Set IS-IS Internal metric type and use RIB metric";2539                          "Set IS-IS Internal metric type and use RIB metric";
3040                      }2540                      }
3041                      enum "rib-metric-as-external" {2541                      enum "rib-metric-as-external" {
3042                        value 3;2542                        value 3;
3043                        description2543                        description
3044                          "Set IS-IS External metric type and use RIB metric";2544                          "Set IS-IS External metric type and use RIB metric";
3045                      }2545                      }
3046                    }2546                    }
3047                    description2547                    description
3048                      "IS-IS metric type for redistributed routes";2548                      "IS-IS metric type for redistributed routes";
3049                  }2549                  }
3050                }2550                }
3051                container mobile {2551                container mobile {
3052                  presence "Indicates a mobile node is configured.";2552                  presence "Indicates a mobile node is configured.";
3053                  description2553                  description
3054                    "Mobile routes";2554                    "Mobile routes";
3055                  container level-1-2 {2555                  container level-1-2 {
3056                    must "not(../level-2) and not(../level-1)";2556                    must "not(../level-2) and not(../level-1)";
3057                    presence "Indicates a level-1-2 node is configured.";2557                    presence "Indicates a level-1-2 node is configured.";
3058                    description2558                    description
3059                      "Redistribute routes into both levels";2559                      "Redistribute routes into both levels";
3060                  }2560                  }
3061                  container level-2 {2561                  container level-2 {
3062                    must "not(../level-1-2) and not(../level-1)";2562                    must "not(../level-1-2) and not(../level-1)";
3063                    presence "Indicates a level-2 node is configured.";2563                    presence "Indicates a level-2 node is configured.";
3064                    description2564                    description
3065                      "Redistribute routes into level 2 only (the default)";2565                      "Redistribute routes into level 2 only (the default)";
3066                  }2566                  }
3067                  container level-1 {2567                  container level-1 {
3068                    must "not(../level-1-2) and not(../level-2)";2568                    must "not(../level-1-2) and not(../level-2)";
3069                    presence "Indicates a level-1 node is configured.";2569                    presence "Indicates a level-1 node is configured.";
3070                    description2570                    description
3071                      "Redistribute routes into level 1 only";2571                      "Redistribute routes into level 1 only";
3072                  }2572                  }
3073                  leaf metric {2573                  leaf metric {
3074                    type uint32 {2574                    type uint32 {
3075                      range "0..16777215" {2575                      range "0..16777215" {
3076                        description2576                        description
3077                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2577                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
3078                      }2578                      }
3079                    }2579                    }
3080                    description2580                    description
3081                      "Metric for redistributed routes";2581                      "Metric for redistributed routes";
3082                  }2582                  }
3083                  leaf route-policy {2583                  leaf route-policy {
3084                    type xr:Route-policy-name;2584                    type xr:Route-policy-name;
3085                    description2585                    description
3086                      "Route policy reference";2586                      "Route policy reference";
3087                  }2587                  }
3088                  leaf metric-type {2588                  leaf metric-type {
3089                    type enumeration {2589                    type enumeration {
3090                      enum "internal" {2590                      enum "internal" {
3091                        value 0;2591                        value 0;
3092                        description2592                        description
3093                          "Set IS-IS Internal metric type";2593                          "Set IS-IS Internal metric type";
3094                      }2594                      }
3095                      enum "external" {2595                      enum "external" {
3096                        value 1;2596                        value 1;
3097                        description2597                        description
3098                          "Set IS-IS External metric type";2598                          "Set IS-IS External metric type";
3099                      }2599                      }
3100                      enum "rib-metric-as-internal" {2600                      enum "rib-metric-as-internal" {
3101                        value 2;2601                        value 2;
3102                        description2602                        description
3103                          "Set IS-IS Internal metric type and use RIB metric";2603                          "Set IS-IS Internal metric type and use RIB metric";
3104                      }2604                      }
3105                      enum "rib-metric-as-external" {2605                      enum "rib-metric-as-external" {
3106                        value 3;2606                        value 3;
3107                        description2607                        description
3108                          "Set IS-IS External metric type and use RIB metric";2608                          "Set IS-IS External metric type and use RIB metric";
3109                      }2609                      }
3110                    }2610                    }
3111                    description2611                    description
3112                      "IS-IS metric type for redistributed routes";2612                      "IS-IS metric type for redistributed routes";
3113                  }2613                  }
3114                }2614                }
3115                container applications {2615                container applications {
3116                  description2616                  description
3117                    "Application routes";2617                    "Application routes";
3118                  list application {2618                  list application {
3119                    key "application-name";2619                    key "application-name";
3120                    description2620                    description
3121                      "Application routes";2621                      "Application routes";
3122                    leaf application-name {2622                    leaf application-name {
3123                      type string {2623                      type string {
3124                        length "1..1024" {2624                        length "1..1024" {
3125                          description2625                          description
3126                            "OnePK application name";2626                            "OnePK application name";
3127                        }2627                        }
3128                      }2628                      }
3129                      description2629                      description
3130                        "Application routes";2630                        "Application routes";
3131                    }2631                    }
3132                    container level-1-2 {2632                    container level-1-2 {
3133                      must "not(../level-2) and not(../level-1)";2633                      must "not(../level-2) and not(../level-1)";
3134                      presence "Indicates a level-1-2 node is configured.";2634                      presence "Indicates a level-1-2 node is configured.";
3135                      description2635                      description
3136                        "Redistribute routes into both levels";2636                        "Redistribute routes into both levels";
3137                    }2637                    }
3138                    container level-2 {2638                    container level-2 {
3139                      must "not(../level-1-2) and not(../level-1)";2639                      must "not(../level-1-2) and not(../level-1)";
3140                      presence "Indicates a level-2 node is configured.";2640                      presence "Indicates a level-2 node is configured.";
3141                      description2641                      description
3142                        "Redistribute routes into level 2 only (the default)";2642                        "Redistribute routes into level 2 only (the default)";
3143                    }2643                    }
3144                    container level-1 {2644                    container level-1 {
3145                      must "not(../level-1-2) and not(../level-2)";2645                      must "not(../level-1-2) and not(../level-2)";
3146                      presence "Indicates a level-1 node is configured.";2646                      presence "Indicates a level-1 node is configured.";
3147                      description2647                      description
3148                        "Redistribute routes into level 1 only";2648                        "Redistribute routes into level 1 only";
3149                    }2649                    }
3150                    leaf metric {2650                    leaf metric {
3151                      type uint32 {2651                      type uint32 {
3152                        range "0..16777215" {2652                        range "0..16777215" {
3153                          description2653                          description
3154                            "Default metric: <0-63> for narrow, <0-16777215> for wide";2654                            "Default metric: <0-63> for narrow, <0-16777215> for wide";
3155                        }2655                        }
3156                      }2656                      }
3157                      description2657                      description
3158                        "Metric for redistributed routes";2658                        "Metric for redistributed routes";
3159                    }2659                    }
3160                    leaf route-policy {2660                    leaf route-policy {
3161                      type xr:Route-policy-name;2661                      type xr:Route-policy-name;
3162                      description2662                      description
3163                        "Route policy reference";2663                        "Route policy reference";
3164                    }2664                    }
3165                    leaf metric-type {2665                    leaf metric-type {
3166                      type enumeration {2666                      type enumeration {
3167                        enum "internal" {2667                        enum "internal" {
3168                          value 0;2668                          value 0;
3169                          description2669                          description
3170                            "Set IS-IS Internal metric type";2670                            "Set IS-IS Internal metric type";
3171                        }2671                        }
3172                        enum "external" {2672                        enum "external" {
3173                          value 1;2673                          value 1;
3174                          description2674                          description
3175                            "Set IS-IS External metric type";2675                            "Set IS-IS External metric type";
3176                        }2676                        }
3177                        enum "rib-metric-as-internal" {2677                        enum "rib-metric-as-internal" {
3178                          value 2;2678                          value 2;
3179                          description2679                          description
3180                            "Set IS-IS Internal metric type and use RIB metric";2680                            "Set IS-IS Internal metric type and use RIB metric";
3181                        }2681                        }
3182                        enum "rib-metric-as-external" {2682                        enum "rib-metric-as-external" {
3183                          value 3;2683                          value 3;
3184                          description2684                          description
3185                            "Set IS-IS External metric type and use RIB metric";2685                            "Set IS-IS External metric type and use RIB metric";
3186                        }2686                        }
3187                      }2687                      }
3188                      description2688                      description
3189                        "IS-IS metric type for redistributed routes";2689                        "IS-IS metric type for redistributed routes";
3190                    }2690                    }
3191                  }2691                  }
3192                }2692                }
3193                list isis {2693                list isis {
3194                  key "instance-id";2694                  key "instance-id";
3195                  description2695                  description
3196                    "IS-IS";2696                    "IS-IS";
3197                  leaf instance-id {2697                  leaf instance-id {
3198                    type string {2698                    type string {
3199                      length "1..1024" {2699                      length "1..1024" {
3200                        description2700                        description
3201                          "IS-IS instance identifier";2701                          "IS-IS instance identifier";
3202                      }2702                      }
3203                    }2703                    }
3204                    description2704                    description
3205                      "IS-IS";2705                      "IS-IS";
3206                  }2706                  }
3207                  container level-1-2 {2707                  container level-1-2 {
3208                    must "not(../level-2) and not(../level-1)";2708                    must "not(../level-2) and not(../level-1)";
3209                    presence "Indicates a level-1-2 node is configured.";2709                    presence "Indicates a level-1-2 node is configured.";
3210                    description2710                    description
3211                      "Redistribute routes into both levels";2711                      "Redistribute routes into both levels";
3212                  }2712                  }
3213                  container level-2 {2713                  container level-2 {
3214                    must "not(../level-1-2) and not(../level-1)";2714                    must "not(../level-1-2) and not(../level-1)";
3215                    presence "Indicates a level-2 node is configured.";2715                    presence "Indicates a level-2 node is configured.";
3216                    description2716                    description
3217                      "Redistribute routes into level 2 only (the default)";2717                      "Redistribute routes into level 2 only (the default)";
3218                  }2718                  }
3219                  container level-1 {2719                  container level-1 {
3220                    must "not(../level-1-2) and not(../level-2)";2720                    must "not(../level-1-2) and not(../level-2)";
3221                    presence "Indicates a level-1 node is configured.";2721                    presence "Indicates a level-1 node is configured.";
3222                    description2722                    description
3223                      "Redistribute routes into level 1 only";2723                      "Redistribute routes into level 1 only";
3224                  }2724                  }
3225                  leaf metric {2725                  leaf metric {
3226                    type uint32 {2726                    type uint32 {
3227                      range "0..16777215" {2727                      range "0..16777215" {
3228                        description2728                        description
3229                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2729                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
3230                      }2730                      }
3231                    }2731                    }
3232                    description2732                    description
3233                      "Metric for redistributed routes";2733                      "Metric for redistributed routes";
3234                  }2734                  }
3235                  leaf route-policy {2735                  leaf route-policy {
3236                    type xr:Route-policy-name;2736                    type xr:Route-policy-name;
3237                    description2737                    description
3238                      "Route policy reference";2738                      "Route policy reference";
3239                  }2739                  }
3240                  leaf metric-type {2740                  leaf metric-type {
3241                    type enumeration {2741                    type enumeration {
3242                      enum "internal" {2742                      enum "internal" {
3243                        value 0;2743                        value 0;
3244                        description2744                        description
3245                          "Set IS-IS Internal metric type";2745                          "Set IS-IS Internal metric type";
3246                      }2746                      }
3247                      enum "external" {2747                      enum "external" {
3248                        value 1;2748                        value 1;
3249                        description2749                        description
3250                          "Set IS-IS External metric type";2750                          "Set IS-IS External metric type";
3251                      }2751                      }
3252                      enum "rib-metric-as-internal" {2752                      enum "rib-metric-as-internal" {
3253                        value 2;2753                        value 2;
3254                        description2754                        description
3255                          "Set IS-IS Internal metric type and use RIB metric";2755                          "Set IS-IS Internal metric type and use RIB metric";
3256                      }2756                      }
3257                      enum "rib-metric-as-external" {2757                      enum "rib-metric-as-external" {
3258                        value 3;2758                        value 3;
3259                        description2759                        description
3260                          "Set IS-IS External metric type and use RIB metric";2760                          "Set IS-IS External metric type and use RIB metric";
3261                      }2761                      }
3262                    }2762                    }
3263                    description2763                    description
3264                      "IS-IS metric type for redistributed routes";2764                      "IS-IS metric type for redistributed routes";
3265                  }2765                  }
3266                  container down-flag-clear {2766                  container down-flag-clear {
3267                    presence "Indicates a down-flag-clear node is configured.";2767                    presence "Indicates a down-flag-clear node is configured.";
3268                    description2768                    description
3269                      "Set the up/down bit to 0 in prefix advertisements";2769                      "Set the up/down bit to 0 in prefix advertisements";
3270                  }2770                  }
3271                }2771                }
3272                container bgp {2772                container bgp {
3273                  description2773                  description
3274                    "Border Gateway Protocol (BGP)";2774                    "Border Gateway Protocol (BGP)";
3275                  list as {2775                  list as {
3276                    key "as-number";2776                    key "as-number";
3277                    description2777                    description
3278                      "bgp as-number";2778                      "bgp as-number";
3279                    leaf as-number {2779                    leaf as-number {
3280                      type xr:Bgp-as-number;2780                      type xr:Bgp-as-number;
3281                      description2781                      description
3282                        "bgp as-number";2782                        "bgp as-number";
3283                    }2783                    }
3284                    container level-1-2 {2784                    container level-1-2 {
3285                      must "not(../level-2) and not(../level-1)";2785                      must "not(../level-2) and not(../level-1)";
3286                      presence "Indicates a level-1-2 node is configured.";2786                      presence "Indicates a level-1-2 node is configured.";
3287                      description2787                      description
3288                        "Redistribute routes into both levels";2788                        "Redistribute routes into both levels";
3289                    }2789                    }
3290                    container level-2 {2790                    container level-2 {
3291                      must "not(../level-1-2) and not(../level-1)";2791                      must "not(../level-1-2) and not(../level-1)";
3292                      presence "Indicates a level-2 node is configured.";2792                      presence "Indicates a level-2 node is configured.";
3293                      description2793                      description
3294                        "Redistribute routes into level 2 only (the default)";2794                        "Redistribute routes into level 2 only (the default)";
3295                    }2795                    }
3296                    container level-1 {2796                    container level-1 {
3297                      must "not(../level-1-2) and not(../level-2)";2797                      must "not(../level-1-2) and not(../level-2)";
3298                      presence "Indicates a level-1 node is configured.";2798                      presence "Indicates a level-1 node is configured.";
3299                      description2799                      description
3300                        "Redistribute routes into level 1 only";2800                        "Redistribute routes into level 1 only";
3301                    }2801                    }
3302                    leaf metric {2802                    leaf metric {
3303                      type uint32 {2803                      type uint32 {
3304                        range "0..16777215" {2804                        range "0..16777215" {
3305                          description2805                          description
3306                            "Default metric: <0-63> for narrow, <0-16777215> for wide";2806                            "Default metric: <0-63> for narrow, <0-16777215> for wide";
3307                        }2807                        }
3308                      }2808                      }
3309                      description2809                      description
3310                        "Metric for redistributed routes";2810                        "Metric for redistributed routes";
3311                    }2811                    }
3312                    leaf route-policy {2812                    leaf route-policy {
3313                      type xr:Route-policy-name;2813                      type xr:Route-policy-name;
3314                      description2814                      description
3315                        "Route policy reference";2815                        "Route policy reference";
3316                    }2816                    }
3317                    leaf metric-type {2817                    leaf metric-type {
3318                      type enumeration {2818                      type enumeration {
3319                        enum "internal" {2819                        enum "internal" {
3320                          value 0;2820                          value 0;
3321                          description2821                          description
3322                            "Set IS-IS Internal metric type";2822                            "Set IS-IS Internal metric type";
3323                        }2823                        }
3324                        enum "external" {2824                        enum "external" {
3325                          value 1;2825                          value 1;
3326                          description2826                          description
3327                            "Set IS-IS External metric type";2827                            "Set IS-IS External metric type";
3328                        }2828                        }
3329                        enum "rib-metric-as-internal" {2829                        enum "rib-metric-as-internal" {
3330                          value 2;2830                          value 2;
3331                          description2831                          description
3332                            "Set IS-IS Internal metric type and use RIB metric";2832                            "Set IS-IS Internal metric type and use RIB metric";
3333                        }2833                        }
3334                        enum "rib-metric-as-external" {2834                        enum "rib-metric-as-external" {
3335                          value 3;2835                          value 3;
3336                          description2836                          description
3337                            "Set IS-IS External metric type and use RIB metric";2837                            "Set IS-IS External metric type and use RIB metric";
3338                        }2838                        }
3339                      }2839                      }
3340                      description2840                      description
3341                        "IS-IS metric type for redistributed routes";2841                        "IS-IS metric type for redistributed routes";
3342                    }2842                    }
3343                  }2843                  }
3344                }2844                }
3345                list eigrp {2845                list eigrp {
3346                  key "as-number";2846                  key "as-number";
3347                  description2847                  description
3348                    "EIGRP Protocol";2848                    "EIGRP Protocol";
3349                  leaf as-number {2849                  leaf as-number {
3350                    type uint32 {2850                    type uint32 {
3351                      range "1..65535" {2851                      range "1..65535" {
3352                        description2852                        description
3353                          "Autonomous system number";2853                          "Autonomous system number";
3354                      }2854                      }
3355                    }2855                    }
3356                    description2856                    description
3357                      "EIGRP Protocol";2857                      "EIGRP Protocol";
3358                  }2858                  }
3359                  container match {2859                  container match {
3360                    description2860                    description
3361                      "Redistribution of EIGRP routes";2861                      "Redistribution of EIGRP routes";
3362                    container internal {2862                    container internal {
3363                      must "not(../external)";2863                      must "not(../external)";
3364                      presence "Indicates a internal node is configured.";2864                      presence "Indicates a internal node is configured.";
3365                      description2865                      description
3366                        "Redistribute EIGRP internal routes";2866                        "Redistribute EIGRP internal routes";
3367                    }2867                    }
3368                    container external {2868                    container external {
3369                      must "not(../internal)";2869                      must "not(../internal)";
3370                      presence "Indicates a external node is configured.";2870                      presence "Indicates a external node is configured.";
3371                      description2871                      description
3372                        "Redistribute EIGRP external routes";2872                        "Redistribute EIGRP external routes";
3373                    }2873                    }
3374                  }2874                  }
3375                  container level-1-2 {2875                  container level-1-2 {
3376                    must "not(../level-2) and not(../level-1)";2876                    must "not(../level-2) and not(../level-1)";
3377                    presence "Indicates a level-1-2 node is configured.";2877                    presence "Indicates a level-1-2 node is configured.";
3378                    description2878                    description
3379                      "Redistribute routes into both levels";2879                      "Redistribute routes into both levels";
3380                  }2880                  }
3381                  container level-2 {2881                  container level-2 {
3382                    must "not(../level-1-2) and not(../level-1)";2882                    must "not(../level-1-2) and not(../level-1)";
3383                    presence "Indicates a level-2 node is configured.";2883                    presence "Indicates a level-2 node is configured.";
3384                    description2884                    description
3385                      "Redistribute routes into level 2 only (the default)";2885                      "Redistribute routes into level 2 only (the default)";
3386                  }2886                  }
3387                  container level-1 {2887                  container level-1 {
3388                    must "not(../level-1-2) and not(../level-2)";2888                    must "not(../level-1-2) and not(../level-2)";
3389                    presence "Indicates a level-1 node is configured.";2889                    presence "Indicates a level-1 node is configured.";
3390                    description2890                    description
3391                      "Redistribute routes into level 1 only";2891                      "Redistribute routes into level 1 only";
3392                  }2892                  }
3393                  leaf metric {2893                  leaf metric {
3394                    type uint32 {2894                    type uint32 {
3395                      range "0..16777215" {2895                      range "0..16777215" {
3396                        description2896                        description
3397                          "Default metric: <0-63> for narrow, <0-16777215> for wide";2897                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
3398                      }2898                      }
3399                    }2899                    }
3400                    description2900                    description
3401                      "Metric for redistributed routes";2901                      "Metric for redistributed routes";
3402                  }2902                  }
3403                  leaf route-policy {2903                  leaf route-policy {
3404                    type xr:Route-policy-name;2904                    type xr:Route-policy-name;
3405                    description2905                    description
3406                      "Route policy reference";2906                      "Route policy reference";
3407                  }2907                  }
3408                  leaf metric-type {2908                  leaf metric-type {
3409                    type enumeration {2909                    type enumeration {
3410                      enum "internal" {2910                      enum "internal" {
3411                        value 0;2911                        value 0;
3412                        description2912                        description
3413                          "Set IS-IS Internal metric type";2913                          "Set IS-IS Internal metric type";
3414                      }2914                      }
3415                      enum "external" {2915                      enum "external" {
3416                        value 1;2916                        value 1;
3417                        description2917                        description
3418                          "Set IS-IS External metric type";2918                          "Set IS-IS External metric type";
3419                      }2919                      }
3420                      enum "rib-metric-as-internal" {2920                      enum "rib-metric-as-internal" {
3421                        value 2;2921                        value 2;
3422                        description2922                        description
3423                          "Set IS-IS Internal metric type and use RIB metric";2923                          "Set IS-IS Internal metric type and use RIB metric";
3424                      }2924                      }
3425                      enum "rib-metric-as-external" {2925                      enum "rib-metric-as-external" {
3426                        value 3;2926                        value 3;
3427                        description2927                        description
3428                          "Set IS-IS External metric type and use RIB metric";2928                          "Set IS-IS External metric type and use RIB metric";
3429                      }2929                      }
3430                    }2930                    }
3431                    description2931                    description
3432                      "IS-IS metric type for redistributed routes";2932                      "IS-IS metric type for redistributed routes";
3433                  }2933                  }
3434                }2934                }
3435              }2935              }
3436              leaf maximum-paths {2936              leaf maximum-paths {
3437                type uint32 {2937                type uint32 {
3438                  range "1..64" {2938                  range "1..64" {
3439                    description2939                    description
3440                      "Number of paths";2940                      "Number of paths";
3441                  }2941                  }
3442                }2942                }
3443                description2943                description
3444                  "Maximum number of active parallel paths per route";2944                  "Maximum number of active parallel paths per route";
3445              }2945              }
3446              container router-id {2946              container router-id {
3447                description2947                description
3448                  "Stable IP address for system";2948                  "Stable IP address for system";
3449                leaf interface-name {2949                leaf interface-name {
3450                  type xr:Interface-name;2950                  type xr:Interface-name;
3451                  description2951                  description
3452                    "Router ID Interface";2952                    "Router ID Interface";
3453                }2953                }
3454                leaf ip-address {2954                leaf ip-address {
3455                  type string;2955                  type string;
3456                  description2956                  description
3457                    "Router ID address";2957                    "Router ID address";
3458                }2958                }
3459              }2959              }
3460              container advertise {2960              container advertise {
3461                description2961                description
3462                  "Control what we advertise in our LSP";2962                  "Control what we advertise in our LSP";
3463                container passive-only {2963                container passive-only {
3464                  presence "Indicates a passive-only node is configured.";2964                  presence "Indicates a passive-only node is configured.";
3465                  description2965                  description
3466                    "Advertise prefixes of passive interfaces only";2966                    "Advertise prefixes of passive interfaces only";
3467                }2967                }
3468                container link {2968                container link {
3469                  description2969                  description
3470                    "IS Neighbor attributes";2970                    "IS Neighbor attributes";
3471                  container attributes {2971                  container attributes {
3472                    presence "Indicates a attributes node is configured.";2972                    presence "Indicates a attributes node is configured.";
3473                    description2973                    description
3474                      "Advertise additional link attributes";2974                      "Advertise additional link attributes";
3475                  }2975                  }
3476                }2976                }
3477                container application {2977                container application {
3478                  description2978                  description
3479                    "Application Specific Data";2979                    "Application Specific Data";
3480                  container lfa {2980                  container lfa {
3481                    description2981                    description
3482                      "LFA Application";2982                      "LFA Application";
3483                    container link-attributes {2983                    container link-attributes {
3484                      description2984                      description
3485                        "Application Specific Link Attributes";2985                        "Application Specific Link Attributes";
3486                      container srlg {2986                      container srlg {
3487                        presence "Indicates a srlg node is configured.";2987                        presence "Indicates a srlg node is configured.";
3488                        description2988                        description
3489                          "Shared Risk Ling Group";2989                          "Shared Risk Ling Group";
3490                      }2990                      }
3491                    }2991                    }
3492                  }2992                  }
3493                  container flex-algo {2993                  container flex-algo {
3494                    description2994                    description
3495                      "Flex-Algo Application";2995                      "Flex-Algo Application";
3496                    container link-attributes {2996                    container link-attributes {
3497                      description2997                      description
3498                        "Application Specific Link Attributes";2998                        "Application Specific Link Attributes";
3499                      container srlg {2999                      container srlg {
3500                        presence "Indicates a srlg node is configured.";3000                        presence "Indicates a srlg node is configured.";
3501                        description3001                        description
3502                          "Shared Risk Ling Group";3002                          "Shared Risk Ling Group";
3503                      }3003                      }
3504                    }3004                    }
3505                  }3005                  }
3506                }3006                }
3507              }3007              }
3508              container ucmp {3008              container ucmp {
3509                description3009                description
3510                  "UnEqual Cost Multipath feature";3010                  "UnEqual Cost Multipath feature";
3511                container variance {3011                container variance {
3512                  presence "Indicates a variance node is configured.";3012                  presence "Indicates a variance node is configured.";
3513                  description3013                  description
3514                    "Specify Variance parameter to filter UCMP paths based on cost";3014                    "Specify Variance parameter to filter UCMP paths based on cost";
3515                  leaf variance-value {3015                  leaf variance-value {
3516                    type uint32 {3016                    type uint32 {
3517                      range "101..10000" {3017                      range "101..10000" {
3518                        description3018                        description
3519                          "Variance value";3019                          "Variance value";
3520                      }3020                      }
3521                    }3021                    }
3522                    mandatory true;3022                    mandatory true;
3523                    description3023                    description
3524                      "Specify Variance parameter to filter UCMP paths based on cost";3024                      "Specify Variance parameter to filter UCMP paths based on cost";
3525                  }3025                  }
3526                  leaf prefix-list {3026                  leaf prefix-list {
3527                    type xr:Cisco-ios-xr-string {3027                    type xr:Cisco-ios-xr-string {
3528                      length "1..1024" {3028                      length "1..1024" {
3529                        description3029                        description
3530                          "Name of the prefix-list";3030                          "Name of the prefix-list";
3531                      }3031                      }
3532                    }3032                    }
3533                    description3033                    description
3534                      "Specify prefix-list name to filter UCMP paths based on prefixes";3034                      "Specify prefix-list name to filter UCMP paths based on prefixes";
3535                  }3035                  }
3536                }3036                }
3537                container exclude {3037                container exclude {
3538                  description3038                  description
3539                    "UCMP interface exclusion information";3039                    "UCMP interface exclusion information";
3540                  container interfaces {3040                  container interfaces {
3541                    description3041                    description
3542                      "Exclude an interface from UCMP computation";3042                      "Exclude an interface from UCMP computation";
3543                    list interface {3043                    list interface {
3544                      key "interface-name";3044                      key "interface-name";
3545                      description3045                      description
3546                        "Exclude an interface from UCMP computation";3046                        "Exclude an interface from UCMP computation";
3547                      leaf interface-name {3047                      leaf interface-name {
3548                        type xr:Interface-name;3048                        type xr:Interface-name;
3549                        description3049                        description
3550                          "Exclude an interface from UCMP computation";3050                          "Exclude an interface from UCMP computation";
3551                      }3051                      }
3552                    }3052                    }
3553                  }3053                  }
3554                }3054                }
3555                leaf delay-interval {3055                leaf delay-interval {
3556                  type uint32 {3056                  type uint32 {
3557                    range "100..65535" {3057                    range "100..65535" {
3558                      description3058                      description
3559                        "Delay interval value in milliseconds";3059                        "Delay interval value in milliseconds";
3560                    }3060                    }
3561                  }3061                  }
3562                  description3062                  description
3563                    "UCMP delay interval";3063                    "UCMP delay interval";
3564                }3064                }
3565              }3065              }
3566              container microloop {3066              container microloop {
3567                description3067                description
3568                  "Enable microloop protection feature";3068                  "Enable microloop protection feature";
3569                container avoidance {3069                container avoidance {
n3570                  descriptionn3070                  presence "Indicates a avoidance node is configured.";
3571                    "Enable microloop protection type";
3572                  leaf type {
3573                    type enumeration {
3574                      enum "local" {
3575                        value 1;
3576                        description
3577                          "Local, all prefixes";
3578                      }
3579                      enum "protected" {
3580                        value 2;
3581                        description
3582                          "Local, for protected prefixes";
3583                      }
3584                      enum "segment-routing" {
3585                        value 3;
3586                        description
3587                          "Local and remote, Segment Routing";
3588                      }
3589                    }
3590                    description3071                  description
3591                      "Type of microloop avoidance";3072                    "Enabllocal microloop avoidance";
3592                  }3073                  container protected {
3593                  leaf route-policy {3074                    must "not(../segment-routing)";
3594                    type xr:Route-policy-name;3075                    presence "Indicates a protected node is configured.";
3595                    description3076                    description
n3596                      "Distribute prefixes based on a route policy";n3077                      "Enable microloop avoidance for only protected prefixes";
3078                  }
3079                  container segment-routing {
3080                    must "not(../protected)";
3081                    presence "Indicates a segment-routing node is configured.";
3082                    description
3083                      "Enable segment routing microloop avoidance ";
3597                  }3084                  }
3598                }3085                }
3599                leaf avoidance-rib-update-delay {3086                leaf avoidance-rib-update-delay {
3600                  type uint32 {3087                  type uint32 {
3601                    range "1000..65535" {3088                    range "1000..65535" {
3602                      description3089                      description
3603                        "Set value of delay";3090                        "Set value of delay";
3604                    }3091                    }
3605                  }3092                  }
3606                  description3093                  description
3607                    "Delay in milliseconds";3094                    "Delay in milliseconds";
3608                }3095                }
3609              }3096              }
3610              container apply-weight {3097              container apply-weight {
3611                description3098                description
3612                  "Apply weight";3099                  "Apply weight";
3613                container ecmp-only {3100                container ecmp-only {
3614                  must "not(../ucmp-only)";3101                  must "not(../ucmp-only)";
3615                  presence "Indicates a ecmp-only node is configured.";3102                  presence "Indicates a ecmp-only node is configured.";
3616                  description3103                  description
3617                    "Apply weights to ecmp paths only";3104                    "Apply weights to ecmp paths only";
3618                  container bandwidth {3105                  container bandwidth {
3619                    presence "Indicates a bandwidth node is configured.";3106                    presence "Indicates a bandwidth node is configured.";
3620                    description3107                    description
3621                      "Apply weight calculated based on interface bandwidth";3108                      "Apply weight calculated based on interface bandwidth";
3622                  }3109                  }
3623                }3110                }
3624                container ucmp-only {3111                container ucmp-only {
3625                  must "not(../ecmp-only)";3112                  must "not(../ecmp-only)";
3626                  presence "Indicates a ucmp-only node is configured.";3113                  presence "Indicates a ucmp-only node is configured.";
3627                  description3114                  description
3628                    "Apply weights to ucmp paths only";3115                    "Apply weights to ucmp paths only";
3629                }3116                }
3630              }3117              }
3631              container summary-prefixes {3118              container summary-prefixes {
3632                presence "Indicates a summary-prefix node is configured.";3119                presence "Indicates a summary-prefix node is configured.";
3633                description3120                description
3634                  "Configure IP address prefixes";3121                  "Configure IP address prefixes";
3635                list summary-prefix {3122                list summary-prefix {
3636                  key "address-prefix";3123                  key "address-prefix";
3637                  description3124                  description
3638                    "Summary prefix";3125                    "Summary prefix";
3639                  leaf address-prefix {3126                  leaf address-prefix {
3640                    type inet:ip-prefix;3127                    type inet:ip-prefix;
3641                    description3128                    description
3642                      "Specify prefix associated with this Prefix Segement ID";3129                      "Specify prefix associated with this Prefix Segement ID";
3643                  }3130                  }
3644                  leaf tag {3131                  leaf tag {
3645                    type uint32 {3132                    type uint32 {
3646                      range "1..4294967295" {3133                      range "1..4294967295" {
3647                        description3134                        description
n3648                          "The tag value used for summary prefix advertisement";n3135                          "The tag value";
3649                      }3136                      }
3650                    }3137                    }
3651                    description3138                    description
3652                      "Set a tag";3139                      "Set a tag";
3653                  }3140                  }
3654                  leaf level {3141                  leaf level {
3655                    type uint32 {3142                    type uint32 {
3656                      range "1..2" {3143                      range "1..2" {
3657                        description3144                        description
3658                          "Level";3145                          "Level";
3659                      }3146                      }
3660                    }3147                    }
3661                    description3148                    description
3662                      "Summarize routes in one level only";3149                      "Summarize routes in one level only";
3663                  }3150                  }
3664                  leaf algorithm {3151                  leaf algorithm {
3665                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";3152                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";
3666                    type uint32 {3153                    type uint32 {
3667                      range "128..255";3154                      range "128..255";
3668                    }3155                    }
3669                    description3156                    description
3670                      "Flexible Algorithm number";3157                      "Flexible Algorithm number";
3671                  }3158                  }
3672                  container explicit {3159                  container explicit {
3673                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";3160                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";
3674                    presence "Indicates a explicit node is configured.";3161                    presence "Indicates a explicit node is configured.";
3675                    description3162                    description
3676                      "Strict flex-algo locator summarization mode";3163                      "Strict flex-algo locator summarization mode";
3677                  }3164                  }
n3678                  container adv-unreachable {n
3679                    presence "Indicates a adv-unreachable node is configured.";
3680                    description
3681                      "Advertise unreachable summary component";
3682                    leaf unreachable-component-tag {
3683                      type uint32 {
3684                        range "1..4294967295" {
3685                          description
3686                            "The tag value of the summary component";
3687                        }
3688                      }
3689                      description
3690                        "Advertise unreachability only for summary components with a tag";
3691                    }
3692                    container exclude {
3693                      presence "Indicates explicit mode is configured";
3694                      description
3695                        "Advertise unreachability only for summary components with a tag";
3696                    }
3697                  }
3698                  container partition-repair {
3699                    presence "Indicates a partition-repair node is configured.";
3700                    description
3701                      "React to area or domain partition - deaggregate";
3702                  }
3703                }3165                }
3704              }3166              }
3705              container metric {3167              container metric {
3706                description3168                description
3707                  "Configure default metric";3169                  "Configure default metric";
3708                container default-metric {3170                container default-metric {
3709                  description3171                  description
3710                    "Default metric: <1-63> for narrow, <1-16777214> for wide";3172                    "Default metric: <1-63> for narrow, <1-16777214> for wide";
3711                  leaf default-metric-value {3173                  leaf default-metric-value {
3712                    type uint32 {3174                    type uint32 {
3713                      range "1..16777214" {3175                      range "1..16777214" {
3714                        description3176                        description
3715                          "Default metric: <1-63> for narrow, <1-16777214> for wide";3177                          "Default metric: <1-63> for narrow, <1-16777214> for wide";
3716                      }3178                      }
3717                    }3179                    }
3718                    description3180                    description
3719                      "Default metric: <1-63> for narrow, <1-16777214> for wide";3181                      "Default metric: <1-63> for narrow, <1-16777214> for wide";
3720                  }3182                  }
3721                  container levels {3183                  container levels {
3722                    description3184                    description
3723                      "Set metric for one level only";3185                      "Set metric for one level only";
3724                    list level {3186                    list level {
3725                      key "level-id";3187                      key "level-id";
3726                      description3188                      description
3727                        "Set metric for one level only";3189                        "Set metric for one level only";
3728                      leaf level-id {3190                      leaf level-id {
3729                        type uint32 {3191                        type uint32 {
3730                          range "1..2" {3192                          range "1..2" {
3731                            description3193                            description
3732                              "Set metric at this level only";3194                              "Set metric at this level only";
3733                          }3195                          }
3734                        }3196                        }
3735                        description3197                        description
3736                          "Set metric for one level only";3198                          "Set metric for one level only";
3737                      }3199                      }
3738                      leaf default-metric-value {3200                      leaf default-metric-value {
3739                        type uint32 {3201                        type uint32 {
3740                          range "1..16777214" {3202                          range "1..16777214" {
3741                            description3203                            description
3742                              "Default metric: <1-63> for narrow, <1-16777214> for wide";3204                              "Default metric: <1-63> for narrow, <1-16777214> for wide";
3743                          }3205                          }
3744                        }3206                        }
3745                        mandatory true;3207                        mandatory true;
3746                        description3208                        description
3747                          "Default metric: <1-63> for narrow, <1-16777214> for wide";3209                          "Default metric: <1-63> for narrow, <1-16777214> for wide";
3748                      }3210                      }
3749                    }3211                    }
3750                  }3212                  }
3751                }3213                }
3752              }3214              }
3753              container metric-style {3215              container metric-style {
3754                description3216                description
3755                  "Use old-style (ISO 10589) or new-style packet formats";3217                  "Use old-style (ISO 10589) or new-style packet formats";
3756                container narrow {3218                container narrow {
3757                  must "not(../wide or ../transition)";3219                  must "not(../wide or ../transition)";
3758                  presence "Indicates a narrow node is configured.";3220                  presence "Indicates a narrow node is configured.";
3759                  description3221                  description
3760                    "Use old style of TLVs with narrow metric";3222                    "Use old style of TLVs with narrow metric";
3761                }3223                }
3762                container wide {3224                container wide {
3763                  must "not(../narrow or ../transition)";3225                  must "not(../narrow or ../transition)";
3764                  presence "Indicates a wide node is configured.";3226                  presence "Indicates a wide node is configured.";
3765                  description3227                  description
3766                    "Use new style of TLVs to carry wider metric";3228                    "Use new style of TLVs to carry wider metric";
3767                }3229                }
3768                container transition {3230                container transition {
3769                  must "not(../narrow or ../wide)";3231                  must "not(../narrow or ../wide)";
3770                  presence "Indicates a transition node is configured.";3232                  presence "Indicates a transition node is configured.";
3771                  description3233                  description
3772                    "Send and accept both styles of TLVs during transition";3234                    "Send and accept both styles of TLVs during transition";
3773                }3235                }
3774                container levels {3236                container levels {
3775                  description3237                  description
3776                    "Set metric-style for one level only";3238                    "Set metric-style for one level only";
3777                  list level {3239                  list level {
3778                    key "level-id";3240                    key "level-id";
3779                    description3241                    description
3780                      "Set metric-style for one level only";3242                      "Set metric-style for one level only";
3781                    leaf level-id {3243                    leaf level-id {
3782                      type uint32 {3244                      type uint32 {
3783                        range "1..2" {3245                        range "1..2" {
3784                          description3246                          description
3785                            "Level";3247                            "Level";
3786                        }3248                        }
3787                      }3249                      }
3788                      description3250                      description
3789                        "Set metric-style for one level only";3251                        "Set metric-style for one level only";
3790                    }3252                    }
3791                    container narrow {3253                    container narrow {
3792                      must "not(../wide or ../transition)";3254                      must "not(../wide or ../transition)";
3793                      presence "Indicates a narrow node is configured.";3255                      presence "Indicates a narrow node is configured.";
3794                      description3256                      description
3795                        "Use old style of TLVs with narrow metric";3257                        "Use old style of TLVs with narrow metric";
3796                    }3258                    }
3797                    container wide {3259                    container wide {
3798                      must "not(../narrow or ../transition)";3260                      must "not(../narrow or ../transition)";
3799                      presence "Indicates a wide node is configured.";3261                      presence "Indicates a wide node is configured.";
3800                      description3262                      description
3801                        "Use new style of TLVs to carry wider metric";3263                        "Use new style of TLVs to carry wider metric";
3802                    }3264                    }
3803                    container transition {3265                    container transition {
3804                      must "not(../narrow or ../wide)";3266                      must "not(../narrow or ../wide)";
3805                      presence "Indicates a transition node is configured.";3267                      presence "Indicates a transition node is configured.";
3806                      description3268                      description
3807                        "Send and accept both styles of TLVs during transition";3269                        "Send and accept both styles of TLVs during transition";
3808                    }3270                    }
3809                  }3271                  }
3810                }3272                }
3811              }3273              }
3812              container spf-interval {3274              container spf-interval {
3813                description3275                description
3814                  "Route calculation scheduling parameters (FSPF, ISPF, PRC)";3276                  "Route calculation scheduling parameters (FSPF, ISPF, PRC)";
n3815                container ietf {n
3816                  presence "Indicates a ietf node is configured.";
3817                  description
3818                    "Use RFC 8405 backoff algorithm";
3819                  leaf initial-wait-time {
3820                    type uint32 {
3821                      range "0..120000" {
3822                        description
3823                          "Delay in milliseconds";
3824                      }
3825                    }
3826                    description
3827                      "Initial delay before running a route calculation";
3828                  }
3829                  leaf short-wait-time {
3830                    type uint32 {
3831                      range "0..120000" {
3832                        description
3833                          "Delay in milliseconds";
3834                      }
3835                    }
3836                    description
3837                      "Short delay before running a route calculation";
3838                  }
3839                  leaf long-wait-time {
3840                    type uint32 {
3841                      range "0..120000" {
3842                        description
3843                          "Delay in milliseconds";
3844                      }
3845                    }
3846                    description
3847                      "Long delay before running a route calculation";
3848                  }
3849                  leaf learn-interval-time {
3850                    type uint32 {
3851                      range "0..120000" {
3852                        description
3853                          "Delay in milliseconds";
3854                      }
3855                    }
3856                    description
3857                      "Time To Learn interval for running a route calculation";
3858                  }
3859                  leaf holddown-interval-time {
3860                    type uint32 {
3861                      range "0..120000" {
3862                        description
3863                          "Delay in milliseconds";
3864                      }
3865                    }
3866                    description
3867                      "Holddown interval for running a route calculation";
3868                  }
3869                }
3870                container maximum-wait {3277                container maximum-wait {
3871                  description3278                  description
3872                    "Maximum delay before running a route calculation";3279                    "Maximum delay before running a route calculation";
3873                  leaf maximum-wait-time {3280                  leaf maximum-wait-time {
3874                    type uint32 {3281                    type uint32 {
3875                      range "0..120000" {3282                      range "0..120000" {
3876                        description3283                        description
3877                          "Delay in milliseconds";3284                          "Delay in milliseconds";
3878                      }3285                      }
3879                    }3286                    }
3880                    description3287                    description
3881                      "Maximum delay before running a route calculation";3288                      "Maximum delay before running a route calculation";
3882                  }3289                  }
3883                }3290                }
3884                container initial-wait {3291                container initial-wait {
3885                  description3292                  description
3886                    "Initial delay before running a route calculation";3293                    "Initial delay before running a route calculation";
3887                  leaf initial-wait-time {3294                  leaf initial-wait-time {
3888                    type uint32 {3295                    type uint32 {
3889                      range "0..120000" {3296                      range "0..120000" {
3890                        description3297                        description
3891                          "Delay in milliseconds";3298                          "Delay in milliseconds";
3892                      }3299                      }
3893                    }3300                    }
3894                    description3301                    description
3895                      "Initial delay before running a route calculation";3302                      "Initial delay before running a route calculation";
3896                  }3303                  }
3897                }3304                }
3898                container secondary-wait {3305                container secondary-wait {
3899                  description3306                  description
3900                    "Secondary delay before running a route calculation";3307                    "Secondary delay before running a route calculation";
3901                  leaf secondary-wait-time {3308                  leaf secondary-wait-time {
3902                    type uint32 {3309                    type uint32 {
3903                      range "0..120000" {3310                      range "0..120000" {
3904                        description3311                        description
3905                          "Delay in milliseconds";3312                          "Delay in milliseconds";
3906                      }3313                      }
3907                    }3314                    }
3908                    description3315                    description
3909                      "Secondary delay before running a route calculation";3316                      "Secondary delay before running a route calculation";
3910                  }3317                  }
3911                }3318                }
3912                container levels {3319                container levels {
3913                  description3320                  description
3914                    "Set SPF interval for one level only";3321                    "Set SPF interval for one level only";
3915                  list level {3322                  list level {
n3916                    must "ietf or maximum-wait-time or initial-wait-time or secondary-wait-time";n3323                    must "maximum-wait-time or initial-wait-time or secondary-wait-time";
3917                    key "level-id";3324                    key "level-id";
3918                    description3325                    description
3919                      "Set SPF interval for one level only";3326                      "Set SPF interval for one level only";
3920                    leaf level-id {3327                    leaf level-id {
3921                      type uint32 {3328                      type uint32 {
3922                        range "1..2" {3329                        range "1..2" {
3923                          description3330                          description
3924                            "Level";3331                            "Level";
3925                        }3332                        }
3926                      }3333                      }
3927                      description3334                      description
3928                        "Set SPF interval for one level only";3335                        "Set SPF interval for one level only";
n3929                    }n
3930                    container ietf {
3931                      presence "Indicates a ietf node is configured.";
3932                      description
3933                        "Use RFC 8405 backoff algorithm";
3934                      leaf initial-wait-time {
3935                        type uint32 {
3936                          range "0..120000" {
3937                            description
3938                              "Delay in milliseconds";
3939                          }
3940                        }
3941                        description
3942                          "Initial delay before running a route calculation";
3943                      }
3944                      leaf short-wait-time {
3945                        type uint32 {
3946                          range "0..120000" {
3947                            description
3948                              "Delay in milliseconds";
3949                          }
3950                        }
3951                        description
3952                          "Short delay before running a route calculation";
3953                      }
3954                      leaf long-wait-time {
3955                        type uint32 {
3956                          range "0..120000" {
3957                            description
3958                              "Delay in milliseconds";
3959                          }
3960                        }
3961                        description
3962                          "Long delay before running a route calculation";
3963                      }
3964                      leaf learn-interval-time {
3965                        type uint32 {
3966                          range "0..120000" {
3967                            description
3968                              "Delay in milliseconds";
3969                          }
3970                        }
3971                        description
3972                          "Time To Learn interval for running a route calculation";
3973                      }
3974                      leaf holddown-interval-time {
3975                        type uint32 {
3976                          range "0..120000" {
3977                            description
3978                              "Delay in milliseconds";
3979                          }
3980                        }
3981                        description
3982                          "Holddown interval for running a route calculation";
3983                      }
3984                    }3336                    }
3985                    leaf maximum-wait-time {3337                    leaf maximum-wait-time {
3986                      type uint32 {3338                      type uint32 {
3987                        range "0..120000" {3339                        range "0..120000" {
3988                          description3340                          description
3989                            "Delay in milliseconds";3341                            "Delay in milliseconds";
3990                        }3342                        }
3991                      }3343                      }
3992                      description3344                      description
3993                        "Maximum delay before running a route calculation";3345                        "Maximum delay before running a route calculation";
3994                    }3346                    }
3995                    leaf initial-wait-time {3347                    leaf initial-wait-time {
3996                      type uint32 {3348                      type uint32 {
3997                        range "0..120000" {3349                        range "0..120000" {
3998                          description3350                          description
3999                            "Delay in milliseconds";3351                            "Delay in milliseconds";
4000                        }3352                        }
4001                      }3353                      }
4002                      description3354                      description
4003                        "Initial delay before running a route calculation";3355                        "Initial delay before running a route calculation";
4004                    }3356                    }
4005                    leaf secondary-wait-time {3357                    leaf secondary-wait-time {
4006                      type uint32 {3358                      type uint32 {
4007                        range "0..120000" {3359                        range "0..120000" {
4008                          description3360                          description
4009                            "Delay in milliseconds";3361                            "Delay in milliseconds";
4010                        }3362                        }
4011                      }3363                      }
4012                      description3364                      description
4013                        "Secondary delay before running a route calculation";3365                        "Secondary delay before running a route calculation";
4014                    }3366                    }
4015                  }3367                  }
4016                }3368                }
4017              }3369              }
4018              container spf {3370              container spf {
4019                description3371                description
4020                  "SPF configuration";3372                  "SPF configuration";
4021                container periodic {3373                container periodic {
4022                  description3374                  description
4023                    "Configure the periodic SPF";3375                    "Configure the periodic SPF";
4024                  leaf interval {3376                  leaf interval {
4025                    type union {3377                    type union {
4026                      type enumeration {3378                      type enumeration {
4027                        enum "disable-periodic-spf" {3379                        enum "disable-periodic-spf" {
4028                          value 0;3380                          value 0;
4029                          description3381                          description
4030                            "Disable the periodic SPF (spf periodic disable)";3382                            "Disable the periodic SPF (spf periodic disable)";
4031                        }3383                        }
4032                      }3384                      }
4033                      type uint32 {3385                      type uint32 {
4034                        range "1..3600" {3386                        range "1..3600" {
4035                          description3387                          description
4036                            "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";3388                            "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";
4037                        }3389                        }
4038                      }3390                      }
4039                    }3391                    }
4040                    description3392                    description
4041                      "Set the maximum interval in between SPF runs";3393                      "Set the maximum interval in between SPF runs";
4042                  }3394                  }
4043                  container levels {3395                  container levels {
4044                    description3396                    description
4045                      "Configure periodic SPF interval for for one level only";3397                      "Configure periodic SPF interval for for one level only";
4046                    list level {3398                    list level {
4047                      key "level-id";3399                      key "level-id";
4048                      description3400                      description
4049                        "Configure periodic SPF interval for for one level only";3401                        "Configure periodic SPF interval for for one level only";
4050                      leaf level-id {3402                      leaf level-id {
4051                        type uint32 {3403                        type uint32 {
4052                          range "1..2" {3404                          range "1..2" {
4053                            description3405                            description
4054                              "Level";3406                              "Level";
4055                          }3407                          }
4056                        }3408                        }
4057                        description3409                        description
4058                          "Configure periodic SPF interval for for one level only";3410                          "Configure periodic SPF interval for for one level only";
4059                      }3411                      }
4060                      leaf interval {3412                      leaf interval {
4061                        type union {3413                        type union {
4062                          type enumeration {3414                          type enumeration {
4063                            enum "disable-periodic-spf" {3415                            enum "disable-periodic-spf" {
4064                              value 0;3416                              value 0;
4065                              description3417                              description
4066                                "Disable the periodic SPF (spf periodic disable)";3418                                "Disable the periodic SPF (spf periodic disable)";
4067                            }3419                            }
4068                          }3420                          }
4069                          type uint32 {3421                          type uint32 {
4070                            range "1..3600" {3422                            range "1..3600" {
4071                              description3423                              description
4072                                "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";3424                                "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";
4073                            }3425                            }
4074                          }3426                          }
4075                        }3427                        }
4076                        mandatory true;3428                        mandatory true;
4077                        description3429                        description
4078                          "Set the maximum interval in between SPF runs";3430                          "Set the maximum interval in between SPF runs";
4079                      }3431                      }
4080                    }3432                    }
4081                  }3433                  }
4082                }3434                }
4083                container prefix-priority {3435                container prefix-priority {
4084                  description3436                  description
4085                    "Configure a prefix priority list";3437                    "Configure a prefix priority list";
4086                  list prefix-priority {3438                  list prefix-priority {
4087                    must "tag or access-list-name";3439                    must "tag or access-list-name";
4088                    key "priority";3440                    key "priority";
4089                    description3441                    description
4090                      "Configure a prefix priority list";3442                      "Configure a prefix priority list";
4091                    leaf priority {3443                    leaf priority {
4092                      type enumeration {3444                      type enumeration {
4093                        enum "critical" {3445                        enum "critical" {
4094                          value 0;3446                          value 0;
4095                          description3447                          description
4096                            "Specify critical priority prefixes";3448                            "Specify critical priority prefixes";
4097                        }3449                        }
4098                        enum "high" {3450                        enum "high" {
4099                          value 1;3451                          value 1;
4100                          description3452                          description
4101                            "Specify high priority prefixes";3453                            "Specify high priority prefixes";
4102                        }3454                        }
4103                        enum "medium" {3455                        enum "medium" {
4104                          value 2;3456                          value 2;
4105                          description3457                          description
4106                            "Specify medium priority prefixes";3458                            "Specify medium priority prefixes";
4107                        }3459                        }
4108                      }3460                      }
4109                      description3461                      description
4110                        "prefix priority";3462                        "prefix priority";
4111                    }3463                    }
4112                    leaf tag {3464                    leaf tag {
4113                      type uint32 {3465                      type uint32 {
4114                        range "1..4294967295" {3466                        range "1..4294967295" {
4115                          description3467                          description
4116                            "The tag to indicate priority";3468                            "The tag to indicate priority";
4117                        }3469                        }
4118                      }3470                      }
4119                      must "not(../access-list-name)";3471                      must "not(../access-list-name)";
4120                      description3472                      description
4121                        "Specify a tag to indicate priority";3473                        "Specify a tag to indicate priority";
4122                    }3474                    }
4123                    leaf access-list-name {3475                    leaf access-list-name {
4124                      type string {3476                      type string {
4125                        length "1..1024" {3477                        length "1..1024" {
4126                          description3478                          description
4127                            "Access-list name";3479                            "Access-list name";
4128                        }3480                        }
4129                      }3481                      }
4130                      must "not(../tag)";3482                      must "not(../tag)";
4131                      description3483                      description
4132                        "Access-list name";3484                        "Access-list name";
4133                    }3485                    }
4134                  }3486                  }
4135                  container levels {3487                  container levels {
4136                    description3488                    description
4137                      "Configure SPF prefix priority list for one level only";3489                      "Configure SPF prefix priority list for one level only";
4138                    list level {3490                    list level {
4139                      must "tag or access-list-name";3491                      must "tag or access-list-name";
4140                      key "level-id priority";3492                      key "level-id priority";
4141                      description3493                      description
4142                        "Configure SPF prefix priority list for one level only";3494                        "Configure SPF prefix priority list for one level only";
4143                      leaf level-id {3495                      leaf level-id {
4144                        type uint32 {3496                        type uint32 {
4145                          range "1..2" {3497                          range "1..2" {
4146                            description3498                            description
4147                              "Level";3499                              "Level";
4148                          }3500                          }
4149                        }3501                        }
4150                        description3502                        description
4151                          "Configure SPF prefix priority list for one level only";3503                          "Configure SPF prefix priority list for one level only";
4152                      }3504                      }
4153                      leaf priority {3505                      leaf priority {
4154                        type enumeration {3506                        type enumeration {
4155                          enum "critical" {3507                          enum "critical" {
4156                            value 0;3508                            value 0;
4157                            description3509                            description
4158                              "Specify critical priority prefixes";3510                              "Specify critical priority prefixes";
4159                          }3511                          }
4160                          enum "high" {3512                          enum "high" {
4161                            value 1;3513                            value 1;
4162                            description3514                            description
4163                              "Specify high priority prefixes";3515                              "Specify high priority prefixes";
4164                          }3516                          }
4165                          enum "medium" {3517                          enum "medium" {
4166                            value 2;3518                            value 2;
4167                            description3519                            description
4168                              "Specify medium priority prefixes";3520                              "Specify medium priority prefixes";
4169                          }3521                          }
4170                        }3522                        }
4171                        description3523                        description
4172                          "prefix priority";3524                          "prefix priority";
4173                      }3525                      }
4174                      leaf tag {3526                      leaf tag {
4175                        type uint32 {3527                        type uint32 {
4176                          range "1..4294967295" {3528                          range "1..4294967295" {
4177                            description3529                            description
4178                              "The tag to indicate priority";3530                              "The tag to indicate priority";
4179                          }3531                          }
4180                        }3532                        }
4181                        must "not(../access-list-name)";3533                        must "not(../access-list-name)";
4182                        description3534                        description
4183                          "Specify a tag to indicate priority";3535                          "Specify a tag to indicate priority";
4184                      }3536                      }
4185                      leaf access-list-name {3537                      leaf access-list-name {
4186                        type string {3538                        type string {
4187                          length "1..1024" {3539                          length "1..1024" {
4188                            description3540                            description
4189                              "Access-list name";3541                              "Access-list name";
4190                          }3542                          }
4191                        }3543                        }
4192                        must "not(../tag)";3544                        must "not(../tag)";
4193                        description3545                        description
4194                          "Access-list name";3546                          "Access-list name";
4195                      }3547                      }
4196                    }3548                    }
4197                  }3549                  }
4198                }3550                }
4199              }3551              }
4200              container maximum-redistributed-prefixes {3552              container maximum-redistributed-prefixes {
4201                description3553                description
4202                  "Maximum number of redistributed prefixes";3554                  "Maximum number of redistributed prefixes";
4203                leaf maximum-prefixes {3555                leaf maximum-prefixes {
4204                  type uint32 {3556                  type uint32 {
4205                    range "1..28000" {3557                    range "1..28000" {
4206                      description3558                      description
4207                        "maximum limit on number of redistributed prefixes";3559                        "maximum limit on number of redistributed prefixes";
4208                    }3560                    }
4209                  }3561                  }
4210                  description3562                  description
4211                    "Maximum number of redistributed prefixes";3563                    "Maximum number of redistributed prefixes";
4212                }3564                }
4213                container levels {3565                container levels {
4214                  description3566                  description
4215                    "Set maximum redistributed prefixes for one level only";3567                    "Set maximum redistributed prefixes for one level only";
4216                  list level {3568                  list level {
4217                    key "level-id";3569                    key "level-id";
4218                    description3570                    description
4219                      "Set maximum redistributed prefixes for one level only";3571                      "Set maximum redistributed prefixes for one level only";
4220                    leaf level-id {3572                    leaf level-id {
4221                      type uint32 {3573                      type uint32 {
4222                        range "1..2" {3574                        range "1..2" {
4223                          description3575                          description
4224                            "Level";3576                            "Level";
4225                        }3577                        }
4226                      }3578                      }
4227                      description3579                      description
4228                        "Set maximum redistributed prefixes for one level only";3580                        "Set maximum redistributed prefixes for one level only";
4229                    }3581                    }
4230                    leaf maximum-prefixes {3582                    leaf maximum-prefixes {
4231                      type uint32 {3583                      type uint32 {
4232                        range "1..28000" {3584                        range "1..28000" {
4233                          description3585                          description
4234                            "maximum limit on number of redistributed prefixes";3586                            "maximum limit on number of redistributed prefixes";
4235                        }3587                        }
4236                      }3588                      }
4237                      mandatory true;3589                      mandatory true;
4238                      description3590                      description
4239                        "Maximum number of redistributed prefixes";3591                        "Maximum number of redistributed prefixes";
4240                    }3592                    }
4241                  }3593                  }
4242                }3594                }
4243              }3595              }
4244              container propagates {3596              container propagates {
4245                description3597                description
4246                  "Propagate routes between IS-IS levels";3598                  "Propagate routes between IS-IS levels";
4247                list propagate {3599                list propagate {
4248                  key "level into-level";3600                  key "level into-level";
4249                  description3601                  description
4250                    "Source level";3602                    "Source level";
4251                  leaf level {3603                  leaf level {
4252                    type uint32 {3604                    type uint32 {
4253                      range "1..2" {3605                      range "1..2" {
4254                        description3606                        description
4255                          "Level";3607                          "Level";
4256                      }3608                      }
4257                    }3609                    }
n4258                    descriptionn
4259                      "level";
4260                  }3610                  }
4261                  leaf into-level {3611                  leaf into-level {
4262                    type uint32 {3612                    type uint32 {
4263                      range "1..2" {3613                      range "1..2" {
4264                        description3614                        description
4265                          "Destination level";3615                          "Destination level";
4266                      }3616                      }
4267                    }3617                    }
4268                    description3618                    description
4269                      "into";3619                      "into";
4270                  }3620                  }
4271                  leaf route-policy {3621                  leaf route-policy {
4272                    type xr:Route-policy-name;3622                    type xr:Route-policy-name;
4273                    mandatory true;3623                    mandatory true;
4274                    description3624                    description
4275                      "Propagate only specified routes";3625                      "Propagate only specified routes";
4276                  }3626                  }
4277                }3627                }
4278              }3628              }
4279              container adjacency-check {3629              container adjacency-check {
4280                description3630                description
4281                  "Suppress checking of consistent AF support on received IIHs";3631                  "Suppress checking of consistent AF support on received IIHs";
4282                container disable {3632                container disable {
4283                  presence "Indicates a disable node is configured.";3633                  presence "Indicates a disable node is configured.";
4284                  description3634                  description
4285                    "Disable adjacency-checking";3635                    "Disable adjacency-checking";
4286                }3636                }
4287              }3637              }
4288              container route {3638              container route {
4289                description3639                description
4290                  "Control the advertisement of routes in the RIB";3640                  "Control the advertisement of routes in the RIB";
4291                container source {3641                container source {
4292                  description3642                  description
4293                    "Control the path source value";3643                    "Control the path source value";
4294                  container first-hop {3644                  container first-hop {
4295                    presence "Indicates a first-hop node is configured.";3645                    presence "Indicates a first-hop node is configured.";
4296                    description3646                    description
4297                      "Use the IP address of the first-hop";3647                      "Use the IP address of the first-hop";
4298                  }3648                  }
4299                }3649                }
4300              }3650              }
4301              container attached-bit {3651              container attached-bit {
4302                description3652                description
4303                  "Modify behavior of the attached-bit";3653                  "Modify behavior of the attached-bit";
4304                container send {3654                container send {
4305                  description3655                  description
4306                    "Modify how we set the attached bit";3656                    "Modify how we set the attached bit";
4307                  container always-set {3657                  container always-set {
4308                    must "not(../never-set)";3658                    must "not(../never-set)";
4309                    presence "Indicates a always-set node is configured.";3659                    presence "Indicates a always-set node is configured.";
4310                    description3660                    description
4311                      "Always set the attached bit in our LSP";3661                      "Always set the attached bit in our LSP";
4312                  }3662                  }
4313                  container never-set {3663                  container never-set {
4314                    must "not(../always-set)";3664                    must "not(../always-set)";
4315                    presence "Indicates a never-set node is configured.";3665                    presence "Indicates a never-set node is configured.";
4316                    description3666                    description
4317                      "Never set the attached bit our LSP";3667                      "Never set the attached bit our LSP";
4318                  }3668                  }
4319                }3669                }
4320                container receive {3670                container receive {
4321                  description3671                  description
4322                    "Modify how we treat received attached bits";3672                    "Modify how we treat received attached bits";
4323                  container ignore {3673                  container ignore {
4324                    presence "Indicates a ignore node is configured.";3674                    presence "Indicates a ignore node is configured.";
4325                    description3675                    description
4326                      "Ignore the attached bit in received LSPs";3676                      "Ignore the attached bit in received LSPs";
4327                  }3677                  }
4328                }3678                }
4329              }3679              }
4330              container fast-reroute {3680              container fast-reroute {
4331                description3681                description
4332                  "Configure Fast ReRoute";3682                  "Configure Fast ReRoute";
4333                leaf delay-interval {3683                leaf delay-interval {
4334                  type uint32 {3684                  type uint32 {
4335                    range "100..60000" {3685                    range "100..60000" {
4336                      description3686                      description
4337                        "Delay before running FRR (milliseconds)";3687                        "Delay before running FRR (milliseconds)";
4338                    }3688                    }
4339                  }3689                  }
4340                  description3690                  description
4341                    "Delay before running FRR computation";3691                    "Delay before running FRR computation";
4342                }3692                }
4343                container per-link {3693                container per-link {
4344                  when "../../saf-name = 'unicast'";3694                  when "../../saf-name = 'unicast'";
4345                  description3695                  description
4346                    "Prefix independent per-link computation";3696                    "Prefix independent per-link computation";
4347                  container priority-limit {3697                  container priority-limit {
4348                    description3698                    description
4349                      "Limit backup computation upto the prefix priority";3699                      "Limit backup computation upto the prefix priority";
4350                    container critical {3700                    container critical {
4351                      must "not(../high or ../medium)";3701                      must "not(../high or ../medium)";
4352                      presence "Indicates a critical node is configured.";3702                      presence "Indicates a critical node is configured.";
4353                      description3703                      description
4354                        "Compute for critical priority prefixes only";3704                        "Compute for critical priority prefixes only";
4355                    }3705                    }
4356                    container high {3706                    container high {
4357                      must "not(../critical or ../medium)";3707                      must "not(../critical or ../medium)";
4358                      presence "Indicates a high node is configured.";3708                      presence "Indicates a high node is configured.";
4359                      description3709                      description
4360                        "Compute for critical & high priority prefixes";3710                        "Compute for critical & high priority prefixes";
4361                    }3711                    }
4362                    container medium {3712                    container medium {
4363                      must "not(../critical or ../high)";3713                      must "not(../critical or ../high)";
4364                      presence "Indicates a medium node is configured.";3714                      presence "Indicates a medium node is configured.";
4365                      description3715                      description
4366                        "Compute for critical, high & medium priority prefixes";3716                        "Compute for critical, high & medium priority prefixes";
4367                    }3717                    }
4368                    container levels {3718                    container levels {
4369                      description3719                      description
4370                        "Set priority-limit for one level only";3720                        "Set priority-limit for one level only";
4371                      list level {3721                      list level {
4372                        must "critical or high or medium";3722                        must "critical or high or medium";
4373                        key "level-id";3723                        key "level-id";
4374                        description3724                        description
4375                          "Set priority-limit for one level only";3725                          "Set priority-limit for one level only";
4376                        leaf level-id {3726                        leaf level-id {
4377                          type uint32 {3727                          type uint32 {
4378                            range "1..2" {3728                            range "1..2" {
4379                              description3729                              description
4380                                "Level";3730                                "Level";
4381                            }3731                            }
4382                          }3732                          }
4383                          description3733                          description
4384                            "Set priority-limit for one level only";3734                            "Set priority-limit for one level only";
4385                        }3735                        }
4386                        container critical {3736                        container critical {
4387                          must "not(../high or ../medium)";3737                          must "not(../high or ../medium)";
4388                          presence "Indicates a critical node is configured.";3738                          presence "Indicates a critical node is configured.";
4389                          description3739                          description
4390                            "Compute for critical priority prefixes only";3740                            "Compute for critical priority prefixes only";
4391                        }3741                        }
4392                        container high {3742                        container high {
4393                          must "not(../critical or ../medium)";3743                          must "not(../critical or ../medium)";
4394                          presence "Indicates a high node is configured.";3744                          presence "Indicates a high node is configured.";
4395                          description3745                          description
4396                            "Compute for critical & high priority prefixes";3746                            "Compute for critical & high priority prefixes";
4397                        }3747                        }
4398                        container medium {3748                        container medium {
4399                          must "not(../critical or ../high)";3749                          must "not(../critical or ../high)";
4400                          presence "Indicates a medium node is configured.";3750                          presence "Indicates a medium node is configured.";
4401                          description3751                          description
4402                            "Compute for critical, high & medium priority prefixes";3752                            "Compute for critical, high & medium priority prefixes";
4403                        }3753                        }
4404                      }3754                      }
4405                    }3755                    }
4406                  }3756                  }
4407                  container use-candidate-only {3757                  container use-candidate-only {
4408                    description3758                    description
4409                      "Exclude all interfaces from computation";3759                      "Exclude all interfaces from computation";
4410                    container candidate-only {3760                    container candidate-only {
4411                      presence "Indicates a use-candidate-only node is configured.";3761                      presence "Indicates a use-candidate-only node is configured.";
4412                      description3762                      description
4413                        "Exclude all interfaces from computation";3763                        "Exclude all interfaces from computation";
4414                    }3764                    }
4415                    container levels {3765                    container levels {
4416                      description3766                      description
4417                        "Exclude all interfaces for one level only";3767                        "Exclude all interfaces for one level only";
4418                      list level {3768                      list level {
4419                        must "candidate-only";3769                        must "candidate-only";
4420                        key "level-id";3770                        key "level-id";
4421                        description3771                        description
4422                          "Exclude all interfaces for one level only";3772                          "Exclude all interfaces for one level only";
4423                        leaf level-id {3773                        leaf level-id {
4424                          type uint32 {3774                          type uint32 {
4425                            range "1..2" {3775                            range "1..2" {
4426                              description3776                              description
4427                                "Level";3777                                "Level";
4428                            }3778                            }
4429                          }3779                          }
4430                          description3780                          description
4431                            "Exclude all interfaces for one level only";3781                            "Exclude all interfaces for one level only";
4432                        }3782                        }
4433                        container candidate-only {3783                        container candidate-only {
4434                          presence "Indicates a use-candidate-only node is configured.";3784                          presence "Indicates a use-candidate-only node is configured.";
4435                          description3785                          description
4436                            "Exclude all interfaces from computation";3786                            "Exclude all interfaces from computation";
4437                        }3787                        }
4438                      }3788                      }
4439                    }3789                    }
4440                  }3790                  }
4441                }3791                }
4442                container per-prefix {3792                container per-prefix {
4443                  when "../../saf-name = 'unicast'";3793                  when "../../saf-name = 'unicast'";
4444                  description3794                  description
4445                    "Prefix dependent computation";3795                    "Prefix dependent computation";
4446                  container priority-limit {3796                  container priority-limit {
4447                    description3797                    description
4448                      "Limit backup computation upto the prefix priority";3798                      "Limit backup computation upto the prefix priority";
4449                    container critical {3799                    container critical {
4450                      must "not(../high or ../medium)";3800                      must "not(../high or ../medium)";
4451                      presence "Indicates a critical node is configured.";3801                      presence "Indicates a critical node is configured.";
4452                      description3802                      description
4453                        "Compute for critical priority prefixes only";3803                        "Compute for critical priority prefixes only";
4454                    }3804                    }
4455                    container high {3805                    container high {
4456                      must "not(../critical or ../medium)";3806                      must "not(../critical or ../medium)";
4457                      presence "Indicates a high node is configured.";3807                      presence "Indicates a high node is configured.";
4458                      description3808                      description
4459                        "Compute for critical & high priority prefixes";3809                        "Compute for critical & high priority prefixes";
4460                    }3810                    }
4461                    container medium {3811                    container medium {
4462                      must "not(../critical or ../high)";3812                      must "not(../critical or ../high)";
4463                      presence "Indicates a medium node is configured.";3813                      presence "Indicates a medium node is configured.";
4464                      description3814                      description
4465                        "Compute for critical, high & medium priority prefixes";3815                        "Compute for critical, high & medium priority prefixes";
4466                    }3816                    }
4467                    container levels {3817                    container levels {
4468                      description3818                      description
4469                        "Set priority-limit for one level only";3819                        "Set priority-limit for one level only";
4470                      list level {3820                      list level {
4471                        must "critical or high or medium";3821                        must "critical or high or medium";
4472                        key "level-id";3822                        key "level-id";
4473                        description3823                        description
4474                          "Set priority-limit for one level only";3824                          "Set priority-limit for one level only";
4475                        leaf level-id {3825                        leaf level-id {
4476                          type uint32 {3826                          type uint32 {
4477                            range "1..2" {3827                            range "1..2" {
4478                              description3828                              description
4479                                "Level";3829                                "Level";
4480                            }3830                            }
4481                          }3831                          }
4482                          description3832                          description
4483                            "Set priority-limit for one level only";3833                            "Set priority-limit for one level only";
4484                        }3834                        }
4485                        container critical {3835                        container critical {
4486                          must "not(../high or ../medium)";3836                          must "not(../high or ../medium)";
4487                          presence "Indicates a critical node is configured.";3837                          presence "Indicates a critical node is configured.";
4488                          description3838                          description
4489                            "Compute for critical priority prefixes only";3839                            "Compute for critical priority prefixes only";
4490                        }3840                        }
4491                        container high {3841                        container high {
4492                          must "not(../critical or ../medium)";3842                          must "not(../critical or ../medium)";
4493                          presence "Indicates a high node is configured.";3843                          presence "Indicates a high node is configured.";
4494                          description3844                          description
4495                            "Compute for critical & high priority prefixes";3845                            "Compute for critical & high priority prefixes";
4496                        }3846                        }
4497                        container medium {3847                        container medium {
4498                          must "not(../critical or ../high)";3848                          must "not(../critical or ../high)";
4499                          presence "Indicates a medium node is configured.";3849                          presence "Indicates a medium node is configured.";
4500                          description3850                          description
4501                            "Compute for critical, high & medium priority prefixes";3851                            "Compute for critical, high & medium priority prefixes";
4502                        }3852                        }
4503                      }3853                      }
4504                    }3854                    }
4505                  }3855                  }
4506                  container use-candidate-only {3856                  container use-candidate-only {
4507                    description3857                    description
4508                      "Exclude all interfaces from computation";3858                      "Exclude all interfaces from computation";
4509                    container candidate-only {3859                    container candidate-only {
4510                      presence "Indicates a use-candidate-only node is configured.";3860                      presence "Indicates a use-candidate-only node is configured.";
4511                      description3861                      description
4512                        "Exclude all interfaces from computation";3862                        "Exclude all interfaces from computation";
4513                    }3863                    }
4514                    container levels {3864                    container levels {
4515                      description3865                      description
4516                        "Exclude all interfaces for one level only";3866                        "Exclude all interfaces for one level only";
4517                      list level {3867                      list level {
4518                        must "candidate-only";3868                        must "candidate-only";
4519                        key "level-id";3869                        key "level-id";
4520                        description3870                        description
4521                          "Exclude all interfaces for one level only";3871                          "Exclude all interfaces for one level only";
4522                        leaf level-id {3872                        leaf level-id {
4523                          type uint32 {3873                          type uint32 {
4524                            range "1..2" {3874                            range "1..2" {
4525                              description3875                              description
4526                                "Level";3876                                "Level";
4527                            }3877                            }
4528                          }3878                          }
4529                          description3879                          description
4530                            "Exclude all interfaces for one level only";3880                            "Exclude all interfaces for one level only";
4531                        }3881                        }
4532                        container candidate-only {3882                        container candidate-only {
4533                          presence "Indicates a use-candidate-only node is configured.";3883                          presence "Indicates a use-candidate-only node is configured.";
4534                          description3884                          description
4535                            "Exclude all interfaces from computation";3885                            "Exclude all interfaces from computation";
4536                        }3886                        }
4537                      }3887                      }
4538                    }3888                    }
4539                  }3889                  }
4540                  container tiebreaker {3890                  container tiebreaker {
4541                    description3891                    description
4542                      "Configure tiebreaker for multiple backups";3892                      "Configure tiebreaker for multiple backups";
4543                    container downstream {3893                    container downstream {
4544                      description3894                      description
4545                        "Prefer backup path via downstream node";3895                        "Prefer backup path via downstream node";
4546                      leaf index {3896                      leaf index {
4547                        type uint32 {3897                        type uint32 {
4548                          range "1..255" {3898                          range "1..255" {
4549                            description3899                            description
4550                              "Index";3900                              "Index";
4551                          }3901                          }
4552                        }3902                        }
4553                        description3903                        description
4554                          "Set preference order among tiebreakers";3904                          "Set preference order among tiebreakers";
4555                      }3905                      }
4556                      container levels {3906                      container levels {
4557                        description3907                        description
4558                          "Configure tiebreaker for one level only";3908                          "Configure tiebreaker for one level only";
4559                        list level {3909                        list level {
4560                          key "level-id";3910                          key "level-id";
4561                          description3911                          description
4562                            "Configure tiebreaker for one level only";3912                            "Configure tiebreaker for one level only";
4563                          leaf level-id {3913                          leaf level-id {
4564                            type uint32 {3914                            type uint32 {
4565                              range "1..2" {3915                              range "1..2" {
4566                                description3916                                description
4567                                  "Level";3917                                  "Level";
4568                              }3918                              }
4569                            }3919                            }
4570                            description3920                            description
4571                              "Configure tiebreaker for one level only";3921                              "Configure tiebreaker for one level only";
4572                          }3922                          }
4573                          leaf index {3923                          leaf index {
4574                            type uint32 {3924                            type uint32 {
4575                              range "1..255" {3925                              range "1..255" {
4576                                description3926                                description
4577                                  "Index";3927                                  "Index";
4578                              }3928                              }
4579                            }3929                            }
4580                            mandatory true;3930                            mandatory true;
4581                            description3931                            description
4582                              "Set preference order among tiebreakers";3932                              "Set preference order among tiebreakers";
4583                          }3933                          }
4584                        }3934                        }
4585                      }3935                      }
4586                    }3936                    }
4587                    container lc-disjoint {3937                    container lc-disjoint {
4588                      description3938                      description
4589                        "Prefer line card disjoint backup path";3939                        "Prefer line card disjoint backup path";
4590                      leaf index {3940                      leaf index {
4591                        type uint32 {3941                        type uint32 {
4592                          range "1..255" {3942                          range "1..255" {
4593                            description3943                            description
4594                              "Index";3944                              "Index";
4595                          }3945                          }
4596                        }3946                        }
4597                        description3947                        description
4598                          "Set preference order among tiebreakers";3948                          "Set preference order among tiebreakers";
4599                      }3949                      }
4600                      container levels {3950                      container levels {
4601                        description3951                        description
4602                          "Configure tiebreaker for one level only";3952                          "Configure tiebreaker for one level only";
4603                        list level {3953                        list level {
4604                          key "level-id";3954                          key "level-id";
4605                          description3955                          description
4606                            "Configure tiebreaker for one level only";3956                            "Configure tiebreaker for one level only";
4607                          leaf level-id {3957                          leaf level-id {
4608                            type uint32 {3958                            type uint32 {
4609                              range "1..2" {3959                              range "1..2" {
4610                                description3960                                description
4611                                  "Level";3961                                  "Level";
4612                              }3962                              }
4613                            }3963                            }
4614                            description3964                            description
4615                              "Configure tiebreaker for one level only";3965                              "Configure tiebreaker for one level only";
4616                          }3966                          }
4617                          leaf index {3967                          leaf index {
4618                            type uint32 {3968                            type uint32 {
4619                              range "1..255" {3969                              range "1..255" {
4620                                description3970                                description
4621                                  "Index";3971                                  "Index";
4622                              }3972                              }
4623                            }3973                            }
4624                            mandatory true;3974                            mandatory true;
4625                            description3975                            description
4626                              "Set preference order among tiebreakers";3976                              "Set preference order among tiebreakers";
4627                          }3977                          }
4628                        }3978                        }
4629                      }3979                      }
4630                    }3980                    }
4631                    container lowest-backup-metric {3981                    container lowest-backup-metric {
4632                      description3982                      description
4633                        "Prefer backup path with lowest total metric";3983                        "Prefer backup path with lowest total metric";
4634                      leaf index {3984                      leaf index {
4635                        type uint32 {3985                        type uint32 {
4636                          range "1..255" {3986                          range "1..255" {
4637                            description3987                            description
4638                              "Index";3988                              "Index";
4639                          }3989                          }
4640                        }3990                        }
4641                        description3991                        description
4642                          "Set preference order among tiebreakers";3992                          "Set preference order among tiebreakers";
4643                      }3993                      }
4644                      container levels {3994                      container levels {
4645                        description3995                        description
4646                          "Configure tiebreaker for one level only";3996                          "Configure tiebreaker for one level only";
4647                        list level {3997                        list level {
4648                          key "level-id";3998                          key "level-id";
4649                          description3999                          description
4650                            "Configure tiebreaker for one level only";4000                            "Configure tiebreaker for one level only";
4651                          leaf level-id {4001                          leaf level-id {
4652                            type uint32 {4002                            type uint32 {
4653                              range "1..2" {4003                              range "1..2" {
4654                                description4004                                description
4655                                  "Level";4005                                  "Level";
4656                              }4006                              }
4657                            }4007                            }
4658                            description4008                            description
4659                              "Configure tiebreaker for one level only";4009                              "Configure tiebreaker for one level only";
4660                          }4010                          }
4661                          leaf index {4011                          leaf index {
4662                            type uint32 {4012                            type uint32 {
4663                              range "1..255" {4013                              range "1..255" {
4664                                description4014                                description
4665                                  "Index";4015                                  "Index";
4666                              }4016                              }
4667                            }4017                            }
4668                            mandatory true;4018                            mandatory true;
4669                            description4019                            description
4670                              "Set preference order among tiebreakers";4020                              "Set preference order among tiebreakers";
4671                          }4021                          }
4672                        }4022                        }
4673                      }4023                      }
4674                    }4024                    }
4675                    container node-protecting {4025                    container node-protecting {
4676                      description4026                      description
4677                        "Prefer node protecting backup path";4027                        "Prefer node protecting backup path";
4678                      leaf index {4028                      leaf index {
4679                        type uint32 {4029                        type uint32 {
4680                          range "1..255" {4030                          range "1..255" {
4681                            description4031                            description
4682                              "Index";4032                              "Index";
4683                          }4033                          }
4684                        }4034                        }
4685                        description4035                        description
4686                          "Set preference order among tiebreakers";4036                          "Set preference order among tiebreakers";
4687                      }4037                      }
4688                      container levels {4038                      container levels {
4689                        description4039                        description
4690                          "Configure tiebreaker for one level only";4040                          "Configure tiebreaker for one level only";
4691                        list level {4041                        list level {
4692                          key "level-id";4042                          key "level-id";
4693                          description4043                          description
4694                            "Configure tiebreaker for one level only";4044                            "Configure tiebreaker for one level only";
4695                          leaf level-id {4045                          leaf level-id {
4696                            type uint32 {4046                            type uint32 {
4697                              range "1..2" {4047                              range "1..2" {
4698                                description4048                                description
4699                                  "Level";4049                                  "Level";
4700                              }4050                              }
4701                            }4051                            }
4702                            description4052                            description
4703                              "Configure tiebreaker for one level only";4053                              "Configure tiebreaker for one level only";
4704                          }4054                          }
4705                          leaf index {4055                          leaf index {
4706                            type uint32 {4056                            type uint32 {
4707                              range "1..255" {4057                              range "1..255" {
4708                                description4058                                description
4709                                  "Index";4059                                  "Index";
4710                              }4060                              }
4711                            }4061                            }
4712                            mandatory true;4062                            mandatory true;
4713                            description4063                            description
4714                              "Set preference order among tiebreakers";4064                              "Set preference order among tiebreakers";
4715                          }4065                          }
4716                        }4066                        }
4717                      }4067                      }
4718                    }4068                    }
4719                    container primary-path {4069                    container primary-path {
4720                      description4070                      description
4721                        "Prefer backup path from ECMP set";4071                        "Prefer backup path from ECMP set";
4722                      leaf index {4072                      leaf index {
4723                        type uint32 {4073                        type uint32 {
4724                          range "1..255" {4074                          range "1..255" {
4725                            description4075                            description
4726                              "Index";4076                              "Index";
4727                          }4077                          }
4728                        }4078                        }
4729                        description4079                        description
4730                          "Set preference order among tiebreakers";4080                          "Set preference order among tiebreakers";
4731                      }4081                      }
4732                      container levels {4082                      container levels {
4733                        description4083                        description
4734                          "Configure tiebreaker for one level only";4084                          "Configure tiebreaker for one level only";
4735                        list level {4085                        list level {
4736                          key "level-id";4086                          key "level-id";
4737                          description4087                          description
4738                            "Configure tiebreaker for one level only";4088                            "Configure tiebreaker for one level only";
4739                          leaf level-id {4089                          leaf level-id {
4740                            type uint32 {4090                            type uint32 {
4741                              range "1..2" {4091                              range "1..2" {
4742                                description4092                                description
4743                                  "Level";4093                                  "Level";
4744                              }4094                              }
4745                            }4095                            }
4746                            description4096                            description
4747                              "Configure tiebreaker for one level only";4097                              "Configure tiebreaker for one level only";
4748                          }4098                          }
4749                          leaf index {4099                          leaf index {
4750                            type uint32 {4100                            type uint32 {
4751                              range "1..255" {4101                              range "1..255" {
4752                                description4102                                description
4753                                  "Index";4103                                  "Index";
4754                              }4104                              }
4755                            }4105                            }
4756                            mandatory true;4106                            mandatory true;
4757                            description4107                            description
4758                              "Set preference order among tiebreakers";4108                              "Set preference order among tiebreakers";
4759                          }4109                          }
4760                        }4110                        }
4761                      }4111                      }
4762                    }4112                    }
4763                    container secondary-path {4113                    container secondary-path {
4764                      description4114                      description
4765                        "Prefer non-ECMP backup path";4115                        "Prefer non-ECMP backup path";
4766                      leaf index {4116                      leaf index {
4767                        type uint32 {4117                        type uint32 {
4768                          range "1..255" {4118                          range "1..255" {
4769                            description4119                            description
4770                              "Index";4120                              "Index";
4771                          }4121                          }
4772                        }4122                        }
4773                        description4123                        description
4774                          "Set preference order among tiebreakers";4124                          "Set preference order among tiebreakers";
4775                      }4125                      }
4776                      container levels {4126                      container levels {
4777                        description4127                        description
4778                          "Configure tiebreaker for one level only";4128                          "Configure tiebreaker for one level only";
4779                        list level {4129                        list level {
4780                          key "level-id";4130                          key "level-id";
4781                          description4131                          description
4782                            "Configure tiebreaker for one level only";4132                            "Configure tiebreaker for one level only";
4783                          leaf level-id {4133                          leaf level-id {
4784                            type uint32 {4134                            type uint32 {
4785                              range "1..2" {4135                              range "1..2" {
4786                                description4136                                description
4787                                  "Level";4137                                  "Level";
4788                              }4138                              }
4789                            }4139                            }
4790                            description4140                            description
4791                              "Configure tiebreaker for one level only";4141                              "Configure tiebreaker for one level only";
4792                          }4142                          }
4793                          leaf index {4143                          leaf index {
4794                            type uint32 {4144                            type uint32 {
4795                              range "1..255" {4145                              range "1..255" {
4796                                description4146                                description
4797                                  "Index";4147                                  "Index";
4798                              }4148                              }
4799                            }4149                            }
4800                            mandatory true;4150                            mandatory true;
4801                            description4151                            description
4802                              "Set preference order among tiebreakers";4152                              "Set preference order among tiebreakers";
4803                          }4153                          }
4804                        }4154                        }
4805                      }4155                      }
4806                    }4156                    }
4807                    container srlg-disjoint {4157                    container srlg-disjoint {
4808                      description4158                      description
4809                        "Prefer SRLG disjoint backup path";4159                        "Prefer SRLG disjoint backup path";
4810                      leaf index {4160                      leaf index {
4811                        type uint32 {4161                        type uint32 {
4812                          range "1..255" {4162                          range "1..255" {
4813                            description4163                            description
4814                              "Index";4164                              "Index";
4815                          }4165                          }
4816                        }4166                        }
4817                        description4167                        description
4818                          "Set preference order among tiebreakers";4168                          "Set preference order among tiebreakers";
4819                      }4169                      }
4820                      container levels {4170                      container levels {
4821                        description4171                        description
4822                          "Configure tiebreaker for one level only";4172                          "Configure tiebreaker for one level only";
4823                        list level {4173                        list level {
4824                          key "level-id";4174                          key "level-id";
4825                          description4175                          description
4826                            "Configure tiebreaker for one level only";4176                            "Configure tiebreaker for one level only";
4827                          leaf level-id {4177                          leaf level-id {
4828                            type uint32 {4178                            type uint32 {
4829                              range "1..2" {4179                              range "1..2" {
4830                                description4180                                description
4831                                  "Level";4181                                  "Level";
4832                              }4182                              }
4833                            }4183                            }
4834                            description4184                            description
4835                              "Configure tiebreaker for one level only";4185                              "Configure tiebreaker for one level only";
4836                          }4186                          }
4837                          leaf index {4187                          leaf index {
4838                            type uint32 {4188                            type uint32 {
4839                              range "1..255" {4189                              range "1..255" {
4840                                description4190                                description
4841                                  "Index";4191                                  "Index";
4842                              }4192                              }
4843                            }4193                            }
4844                            mandatory true;4194                            mandatory true;
4845                            description4195                            description
4846                              "Set preference order among tiebreakers";4196                              "Set preference order among tiebreakers";
4847                          }4197                          }
4848                        }4198                        }
4849                      }4199                      }
4850                    }4200                    }
4851                  }4201                  }
4852                  container load-sharing {4202                  container load-sharing {
4853                    description4203                    description
4854                      "Load share prefixes across multiple backups";4204                      "Load share prefixes across multiple backups";
4855                    container disable {4205                    container disable {
4856                      presence "Indicates a disable node is configured.";4206                      presence "Indicates a disable node is configured.";
4857                      description4207                      description
4858                        "Disable load sharing";4208                        "Disable load sharing";
4859                    }4209                    }
4860                    container levels {4210                    container levels {
4861                      description4211                      description
4862                        "Disable load sharing for one level only";4212                        "Disable load sharing for one level only";
4863                      list level {4213                      list level {
4864                        must "disable";4214                        must "disable";
4865                        key "level-id";4215                        key "level-id";
4866                        description4216                        description
4867                          "Disable load sharing for one level only";4217                          "Disable load sharing for one level only";
4868                        leaf level-id {4218                        leaf level-id {
4869                          type uint32 {4219                          type uint32 {
4870                            range "1..2" {4220                            range "1..2" {
4871                              description4221                              description
4872                                "Level";4222                                "Level";
4873                            }4223                            }
4874                          }4224                          }
4875                          description4225                          description
4876                            "Disable load sharing for one level only";4226                            "Disable load sharing for one level only";
4877                        }4227                        }
4878                        container disable {4228                        container disable {
4879                          presence "Indicates a disable node is configured.";4229                          presence "Indicates a disable node is configured.";
4880                          description4230                          description
4881                            "Disable load sharing";4231                            "Disable load sharing";
4882                        }4232                        }
4883                      }4233                      }
4884                    }4234                    }
4885                  }4235                  }
4886                  container remote-lfa {4236                  container remote-lfa {
4887                    description4237                    description
4888                      "Enable remote LFA related configuration";4238                      "Enable remote LFA related configuration";
4889                    container prefix-list {4239                    container prefix-list {
4890                      description4240                      description
4891                        "Filter PQ node router ID based on prefix list";4241                        "Filter PQ node router ID based on prefix list";
4892                      leaf prefix-list-name {4242                      leaf prefix-list-name {
4893                        type xr:Cisco-ios-xr-string {4243                        type xr:Cisco-ios-xr-string {
4894                          length "1..1024" {4244                          length "1..1024" {
4895                            description4245                            description
4896                              "Prefix-list name";4246                              "Prefix-list name";
4897                          }4247                          }
4898                        }4248                        }
4899                        description4249                        description
4900                          "Filter PQ node router ID based on prefix list";4250                          "Filter PQ node router ID based on prefix list";
4901                      }4251                      }
4902                      container levels {4252                      container levels {
4903                        description4253                        description
4904                          "Enable router ID filtering for one level only";4254                          "Enable router ID filtering for one level only";
4905                        list level {4255                        list level {
4906                          key "level-id";4256                          key "level-id";
4907                          description4257                          description
4908                            "Enable router ID filtering for one level only";4258                            "Enable router ID filtering for one level only";
4909                          leaf level-id {4259                          leaf level-id {
4910                            type uint32 {4260                            type uint32 {
4911                              range "1..2" {4261                              range "1..2" {
4912                                description4262                                description
4913                                  "Level";4263                                  "Level";
4914                              }4264                              }
4915                            }4265                            }
4916                            description4266                            description
4917                              "Enable router ID filtering for one level only";4267                              "Enable router ID filtering for one level only";
4918                          }4268                          }
4919                          leaf prefix-list-name {4269                          leaf prefix-list-name {
4920                            type string {4270                            type string {
4921                              length "1..1024" {4271                              length "1..1024" {
4922                                description4272                                description
4923                                  "Prefix-list name";4273                                  "Prefix-list name";
4924                              }4274                              }
4925                            }4275                            }
4926                            mandatory true;4276                            mandatory true;
4927                            description4277                            description
4928                              "Filter PQ node router ID based on prefix list";4278                              "Filter PQ node router ID based on prefix list";
4929                          }4279                          }
4930                        }4280                        }
4931                      }4281                      }
4932                    }4282                    }
4933                  }4283                  }
4934                  container srlg-protection {4284                  container srlg-protection {
4935                    description4285                    description
4936                      "Type of SRLG protection";4286                      "Type of SRLG protection";
4937                    container weighted-global {4287                    container weighted-global {
4938                      presence "Indicates a weighted-global node is configured.";4288                      presence "Indicates a weighted-global node is configured.";
4939                      description4289                      description
4940                        "Weighted global SRLG protection";4290                        "Weighted global SRLG protection";
4941                    }4291                    }
4942                    container levels {4292                    container levels {
4943                      description4293                      description
4944                        "Set SRLG protection type for one level only";4294                        "Set SRLG protection type for one level only";
4945                      list level {4295                      list level {
4946                        must "weighted-global";4296                        must "weighted-global";
4947                        key "level-id";4297                        key "level-id";
4948                        description4298                        description
4949                          "Set SRLG protection type for one level only";4299                          "Set SRLG protection type for one level only";
4950                        leaf level-id {4300                        leaf level-id {
4951                          type uint32 {4301                          type uint32 {
4952                            range "1..2" {4302                            range "1..2" {
4953                              description4303                              description
4954                                "Level";4304                                "Level";
4955                            }4305                            }
4956                          }4306                          }
4957                          description4307                          description
4958                            "Set SRLG protection type for one level only";4308                            "Set SRLG protection type for one level only";
4959                        }4309                        }
4960                        container weighted-global {4310                        container weighted-global {
4961                          presence "Indicates a weighted-global node is configured.";4311                          presence "Indicates a weighted-global node is configured.";
4962                          description4312                          description
4963                            "Weighted global SRLG protection";4313                            "Weighted global SRLG protection";
4964                        }4314                        }
4965                      }4315                      }
4966                    }4316                    }
4967                  }4317                  }
4968                }4318                }
4969              }4319              }
4970              container monitor-convergence {4320              container monitor-convergence {
4971                presence "Indicates a monitor-convergence node is configured.";4321                presence "Indicates a monitor-convergence node is configured.";
4972                description4322                description
4973                  "Enables convergence monitoring";4323                  "Enables convergence monitoring";
4974                leaf prefix-list {4324                leaf prefix-list {
4975                  type xr:Cisco-ios-xr-string {4325                  type xr:Cisco-ios-xr-string {
4976                    length "1..1024" {4326                    length "1..1024" {
4977                      description4327                      description
4978                        "Prefix List Name";4328                        "Prefix List Name";
4979                    }4329                    }
4980                  }4330                  }
4981                  description4331                  description
4982                    "Enables Individual Prefix Monitoring";4332                    "Enables Individual Prefix Monitoring";
4983                }4333                }
4984                container track-ip-frr {4334                container track-ip-frr {
4985                  presence "Indicates a track-ip-frr node is configured.";4335                  presence "Indicates a track-ip-frr node is configured.";
4986                  description4336                  description
4987                    "Enables Tracking IP-Frr Convergence";4337                    "Enables Tracking IP-Frr Convergence";
4988                }4338                }
4989              }4339              }
4990              container mpls {4340              container mpls {
4991                description4341                description
4992                  "Configure MPLS routing protocol parameters";4342                  "Configure MPLS routing protocol parameters";
4993                container ldp {4343                container ldp {
4994                  description4344                  description
4995                    "Configure LDP parameters";4345                    "Configure LDP parameters";
4996                  container auto-config {4346                  container auto-config {
4997                    presence "Indicates a auto-config node is configured.";4347                    presence "Indicates a auto-config node is configured.";
4998                    description4348                    description
4999                      "Enable LDP IGP interface auto-configuration";4349                      "Enable LDP IGP interface auto-configuration";
5000                  }4350                  }
5001                }4351                }
5002                container traffic-eng {4352                container traffic-eng {
5003                  description4353                  description
5004                    "Routing protocol commands for MPLS Traffic Engineering";4354                    "Routing protocol commands for MPLS Traffic Engineering";
5005                  container router-id {4355                  container router-id {
5006                    description4356                    description
5007                      "Traffic Engineering stable IP address for system";4357                      "Traffic Engineering stable IP address for system";
5008                    leaf ip-address {4358                    leaf ip-address {
5009                      type inet:ipv4-address-no-zone;4359                      type inet:ipv4-address-no-zone;
5010                      description4360                      description
5011                        "configure this node";4361                        "configure this node";
5012                    }4362                    }
5013                    leaf interface {4363                    leaf interface {
5014                      type xr:Interface-name;4364                      type xr:Interface-name;
5015                      description4365                      description
5016                        "";4366                        "";
5017                    }4367                    }
5018                  }4368                  }
5019                  container igp-intact {4369                  container igp-intact {
5020                    presence "Indicates a igp-intact node is configured.";4370                    presence "Indicates a igp-intact node is configured.";
5021                    description4371                    description
5022                      "Install both TE and non-TE nexthops in the RIB.";4372                      "Install both TE and non-TE nexthops in the RIB.";
5023                  }4373                  }
5024                  container multicast-intact {4374                  container multicast-intact {
5025                    presence "Indicates a multicast-intact node is configured.";4375                    presence "Indicates a multicast-intact node is configured.";
5026                    description4376                    description
5027                      "Install non-TE nexthops in the RIB for use by multicast";4377                      "Install non-TE nexthops in the RIB for use by multicast";
5028                  }4378                  }
5029                  container level-1-2 {4379                  container level-1-2 {
5030                    presence "Indicates a level-1-2 node is configured.";4380                    presence "Indicates a level-1-2 node is configured.";
5031                    description4381                    description
5032                      "Enable mpls traffic-eng at both level 1 and 2";4382                      "Enable mpls traffic-eng at both level 1 and 2";
5033                  }4383                  }
5034                  container level-1 {4384                  container level-1 {
5035                    presence "Indicates a level-1 node is configured.";4385                    presence "Indicates a level-1 node is configured.";
5036                    description4386                    description
5037                      "Enable mpls traffic-eng at level 1";4387                      "Enable mpls traffic-eng at level 1";
5038                  }4388                  }
5039                  container level-2-only {4389                  container level-2-only {
5040                    presence "Indicates a level-2-only node is configured.";4390                    presence "Indicates a level-2-only node is configured.";
5041                    description4391                    description
5042                      "Enable mpls traffic-eng at level 2";4392                      "Enable mpls traffic-eng at level 2";
5043                  }4393                  }
5044                  container tunnel {4394                  container tunnel {
5045                    description4395                    description
5046                      "Tunnel selection";4396                      "Tunnel selection";
5047                    container restricted {4397                    container restricted {
5048                      presence "Indicates a restricted node is configured.";4398                      presence "Indicates a restricted node is configured.";
5049                      description4399                      description
5050                        "Use only primary tunnel for destination IP address";4400                        "Use only primary tunnel for destination IP address";
5051                    }4401                    }
5052                    container preferred {4402                    container preferred {
5053                      presence "Indicates a preferred node is configured.";4403                      presence "Indicates a preferred node is configured.";
5054                      description4404                      description
5055                        "Prefer TE tunnels over equal-cost physical paths";4405                        "Prefer TE tunnels over equal-cost physical paths";
5056                    }4406                    }
n5057                    container anycast-prefer-igp-cost {n
5058                      presence "Indicates a anycast-prefer-igp-cost node is configured.";
5059                      description
5060                        "Prefer anycast prefix with lowest IGP cost";
5061                    }
5062                    container metric {4407                    container metric {
5063                      description4408                      description
5064                        "Default metric for forwarding-adjacency tunnels";4409                        "Default metric for forwarding-adjacency tunnels";
5065                      leaf default-metric {4410                      leaf default-metric {
5066                        type uint32 {4411                        type uint32 {
5067                          range "1..16777214" {4412                          range "1..16777214" {
5068                            description4413                            description
5069                              "Default metric for forwarding-adjacency tunnels";4414                              "Default metric for forwarding-adjacency tunnels";
5070                          }4415                          }
5071                        }4416                        }
5072                        description4417                        description
5073                          "Default metric for forwarding-adjacency tunnels";4418                          "Default metric for forwarding-adjacency tunnels";
5074                      }4419                      }
5075                      container levels {4420                      container levels {
5076                        description4421                        description
5077                          "Set metric for one level only";4422                          "Set metric for one level only";
5078                        list level {4423                        list level {
5079                          key "level-id";4424                          key "level-id";
5080                          description4425                          description
5081                            "Set metric for one level only";4426                            "Set metric for one level only";
5082                          leaf level-id {4427                          leaf level-id {
5083                            type uint32 {4428                            type uint32 {
5084                              range "1..2" {4429                              range "1..2" {
5085                                description4430                                description
5086                                  "Set metric at this level only";4431                                  "Set metric at this level only";
5087                              }4432                              }
5088                            }4433                            }
5089                            description4434                            description
5090                              "Set metric for one level only";4435                              "Set metric for one level only";
5091                          }4436                          }
5092                          leaf default-metric {4437                          leaf default-metric {
5093                            type uint32 {4438                            type uint32 {
5094                              range "1..16777214" {4439                              range "1..16777214" {
5095                                description4440                                description
5096                                  "Default metric for forwarding-adjacency tunnels";4441                                  "Default metric for forwarding-adjacency tunnels";
5097                              }4442                              }
5098                            }4443                            }
5099                            mandatory true;4444                            mandatory true;
5100                            description4445                            description
5101                              "Default metric for forwarding-adjacency tunnels";4446                              "Default metric for forwarding-adjacency tunnels";
5102                          }4447                          }
5103                        }4448                        }
5104                      }4449                      }
5105                    }4450                    }
5106                  }4451                  }
5107                }4452                }
5108              }4453              }
5109              container single-topology {4454              container single-topology {
5110                when "../af-name = 'ipv6' and ../saf-name = 'unicast'";4455                when "../af-name = 'ipv6' and ../saf-name = 'unicast'";
5111                presence "Indicates a single-topology node is configured.";4456                presence "Indicates a single-topology node is configured.";
5112                description4457                description
5113                  "Run IPv6 Unicast using the standard (IPv4 Unicast) topology";4458                  "Run IPv6 Unicast using the standard (IPv4 Unicast) topology";
5114              }4459              }
5115            }4460            }
5116            list address-family-topology {4461            list address-family-topology {
5117              key "af-name saf-name topology-name";4462              key "af-name saf-name topology-name";
5118              description4463              description
5119                "IS-IS address family with a non-default topology";4464                "IS-IS address family with a non-default topology";
5120              leaf af-name {4465              leaf af-name {
5121                type Isis-af-name;4466                type Isis-af-name;
5122                description4467                description
5123                  "Address family name";4468                  "Address family name";
5124              }4469              }
5125              leaf saf-name {4470              leaf saf-name {
5126                type Isis-saf-multicast;4471                type Isis-saf-multicast;
5127                description4472                description
5128                  "Sub address family name";4473                  "Sub address family name";
5129              }4474              }
5130              leaf topology-name {4475              leaf topology-name {
5131                type string {4476                type string {
5132                  length "1..32" {4477                  length "1..32" {
5133                    description4478                    description
5134                      "Topology name";4479                      "Topology name";
5135                  }4480                  }
5136                }4481                }
5137                description4482                description
5138                  "Specify a non-default topology";4483                  "Specify a non-default topology";
5139              }4484              }
5140              container default-information {4485              container default-information {
5141                description4486                description
5142                  "Control distribution of default information";4487                  "Control distribution of default information";
5143                container originate {4488                container originate {
5144                  presence "Indicates a originate node is configured.";4489                  presence "Indicates a originate node is configured.";
5145                  description4490                  description
5146                    "Distribute a default route";4491                    "Distribute a default route";
5147                  container external {4492                  container external {
5148                    presence "Indicates a external node is configured.";4493                    presence "Indicates a external node is configured.";
5149                    description4494                    description
5150                      "Originate default prefix as an external route";4495                      "Originate default prefix as an external route";
5151                  }4496                  }
5152                  leaf route-policy {4497                  leaf route-policy {
5153                    type xr:Route-policy-name;4498                    type xr:Route-policy-name;
5154                    description4499                    description
5155                      "Route policy reference";4500                      "Route policy reference";
5156                  }4501                  }
5157                }4502                }
5158              }4503              }
5159              container segment-routing {4504              container segment-routing {
5160                description4505                description
5161                  "Enable Segment Routing";4506                  "Enable Segment Routing";
5162                container mpls {4507                container mpls {
5163                  description4508                  description
5164                    "Enable Segment Routing using MPLS encapsulation";4509                    "Enable Segment Routing using MPLS encapsulation";
5165                  container connected-prefix-sid-map {4510                  container connected-prefix-sid-map {
5166                    presence "Indicates a connected-prefix-sid-map node is configured.";4511                    presence "Indicates a connected-prefix-sid-map node is configured.";
5167                    description4512                    description
5168                      "Enter connected prefix sid map submode";4513                      "Enter connected prefix sid map submode";
5169                  }4514                  }
5170                }4515                }
5171              }4516              }
5172              container distance {4517              container distance {
5173                description4518                description
5174                  "Configure IS-IS administrative distances";4519                  "Configure IS-IS administrative distances";
5175                leaf global-administrative-distance {4520                leaf global-administrative-distance {
5176                  type uint32 {4521                  type uint32 {
5177                    range "1..255" {4522                    range "1..255" {
5178                      description4523                      description
5179                        "Administrative distance";4524                        "Administrative distance";
5180                    }4525                    }
5181                  }4526                  }
5182                  description4527                  description
5183                    "Configure IS-IS administrative distances";4528                    "Configure IS-IS administrative distances";
5184                }4529                }
5185                container route-sources {4530                container route-sources {
5186                  description4531                  description
5187                    "Route source for this distance";4532                    "Route source for this distance";
5188                  list route-source {4533                  list route-source {
5189                    key "address-prefix";4534                    key "address-prefix";
5190                    description4535                    description
5191                      "Route source for this distance";4536                      "Route source for this distance";
5192                    leaf address-prefix {4537                    leaf address-prefix {
5193                      type inet:ip-prefix;4538                      type inet:ip-prefix;
5194                      description4539                      description
5195                        "Route source for this distance";4540                        "Route source for this distance";
5196                    }4541                    }
5197                    leaf administrative-distance {4542                    leaf administrative-distance {
5198                      type uint32 {4543                      type uint32 {
5199                        range "1..255" {4544                        range "1..255" {
5200                          description4545                          description
5201                            "Administrative distance";4546                            "Administrative distance";
5202                        }4547                        }
5203                      }4548                      }
5204                      description4549                      description
5205                        "Configure IS-IS administrative distances";4550                        "Configure IS-IS administrative distances";
5206                    }4551                    }
5207                    leaf prefix-access-list {4552                    leaf prefix-access-list {
5208                      type string {4553                      type string {
5209                        length "1..1024" {4554                        length "1..1024" {
5210                          description4555                          description
5211                            "Prefix-list or access-list to filter routes for this distance";4556                            "Prefix-list or access-list to filter routes for this distance";
5212                        }4557                        }
5213                      }4558                      }
5214                      description4559                      description
5215                        "Prefix-list or access-list to filter routes for this distance";4560                        "Prefix-list or access-list to filter routes for this distance";
5216                    }4561                    }
5217                  }4562                  }
5218                }4563                }
5219              }4564              }
5220              container distribute-list {4565              container distribute-list {
5221                description4566                description
5222                  "Filter routes sent to the RIB";4567                  "Filter routes sent to the RIB";
5223                leaf prefix-list {4568                leaf prefix-list {
5224                  type xr:Cisco-ios-xr-string {4569                  type xr:Cisco-ios-xr-string {
5225                    length "1..1024" {4570                    length "1..1024" {
5226                      description4571                      description
5227                        "Prefix-list name";4572                        "Prefix-list name";
5228                    }4573                    }
5229                  }4574                  }
5230                  description4575                  description
5231                    "Filter routes based on a prefix list";4576                    "Filter routes based on a prefix list";
5232                }4577                }
5233                leaf route-policy {4578                leaf route-policy {
5234                  type xr:Route-policy-name;4579                  type xr:Route-policy-name;
5235                  description4580                  description
5236                    "Filter routes based on a route policy";4581                    "Filter routes based on a route policy";
5237                }4582                }
5238              }4583              }
5239              container redistribute {4584              container redistribute {
5240                description4585                description
5241                  "Redistribute information from another routing protocol";4586                  "Redistribute information from another routing protocol";
5242                container connected {4587                container connected {
5243                  presence "Indicates a connected node is configured.";4588                  presence "Indicates a connected node is configured.";
5244                  description4589                  description
5245                    "Connected routes";4590                    "Connected routes";
5246                  container level-1-2 {4591                  container level-1-2 {
5247                    must "not(../level-1) and not(../level-2)";4592                    must "not(../level-1) and not(../level-2)";
5248                    presence "Indicates a level-1-2 node is configured.";4593                    presence "Indicates a level-1-2 node is configured.";
5249                    description4594                    description
5250                      "Redistribute routes into both levels";4595                      "Redistribute routes into both levels";
5251                  }4596                  }
5252                  container level-2 {4597                  container level-2 {
5253                    must "not(../level-1-2) and not(../level-1)";4598                    must "not(../level-1-2) and not(../level-1)";
5254                    presence "Indicates a level-2 node is configured.";4599                    presence "Indicates a level-2 node is configured.";
5255                    description4600                    description
5256                      "Redistribute routes into level 2 only (the default)";4601                      "Redistribute routes into level 2 only (the default)";
5257                  }4602                  }
5258                  container level-1 {4603                  container level-1 {
5259                    must "not(../level-1-2) and not(../level-2)";4604                    must "not(../level-1-2) and not(../level-2)";
5260                    presence "Indicates a level-1 node is configured.";4605                    presence "Indicates a level-1 node is configured.";
5261                    description4606                    description
5262                      "Redistribute routes into level 1 only";4607                      "Redistribute routes into level 1 only";
5263                  }4608                  }
5264                  leaf metric {4609                  leaf metric {
5265                    type uint32 {4610                    type uint32 {
5266                      range "0..16777215" {4611                      range "0..16777215" {
5267                        description4612                        description
5268                          "Default metric: <0-63> for narrow, <0-16777215> for wide";4613                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5269                      }4614                      }
5270                    }4615                    }
5271                    description4616                    description
5272                      "Metric for redistributed routes";4617                      "Metric for redistributed routes";
5273                  }4618                  }
5274                  leaf route-policy {4619                  leaf route-policy {
5275                    type xr:Route-policy-name;4620                    type xr:Route-policy-name;
5276                    description4621                    description
5277                      "Route policy reference";4622                      "Route policy reference";
5278                  }4623                  }
5279                  leaf metric-type {4624                  leaf metric-type {
5280                    type enumeration {4625                    type enumeration {
5281                      enum "internal" {4626                      enum "internal" {
5282                        value 0;4627                        value 0;
5283                        description4628                        description
5284                          "Set IS-IS Internal metric type";4629                          "Set IS-IS Internal metric type";
5285                      }4630                      }
5286                      enum "external" {4631                      enum "external" {
5287                        value 1;4632                        value 1;
5288                        description4633                        description
5289                          "Set IS-IS External metric type";4634                          "Set IS-IS External metric type";
5290                      }4635                      }
5291                      enum "rib-metric-as-internal" {4636                      enum "rib-metric-as-internal" {
5292                        value 2;4637                        value 2;
5293                        description4638                        description
5294                          "Set IS-IS Internal metric type and use RIB metric";4639                          "Set IS-IS Internal metric type and use RIB metric";
5295                      }4640                      }
5296                      enum "rib-metric-as-external" {4641                      enum "rib-metric-as-external" {
5297                        value 3;4642                        value 3;
5298                        description4643                        description
5299                          "Set IS-IS External metric type and use RIB metric";4644                          "Set IS-IS External metric type and use RIB metric";
5300                      }4645                      }
5301                    }4646                    }
5302                    description4647                    description
5303                      "IS-IS metric type for redistributed routes";4648                      "IS-IS metric type for redistributed routes";
5304                  }4649                  }
5305                }4650                }
5306                list ospf {4651                list ospf {
5307                  when "../../af-name = 'ipv4'";4652                  when "../../af-name = 'ipv4'";
5308                  key "process-id";4653                  key "process-id";
5309                  description4654                  description
5310                    "Open Shortest Path First (OSPF)";4655                    "Open Shortest Path First (OSPF)";
5311                  leaf process-id {4656                  leaf process-id {
5312                    type string {4657                    type string {
5313                      length "1..1024" {4658                      length "1..1024" {
5314                        description4659                        description
5315                          "OSPF process ID";4660                          "OSPF process ID";
5316                      }4661                      }
5317                    }4662                    }
5318                    description4663                    description
5319                      "Open Shortest Path First (OSPF)";4664                      "Open Shortest Path First (OSPF)";
5320                  }4665                  }
5321                  container match {4666                  container match {
5322                    description4667                    description
5323                      "Redistribution of OSPF routes";4668                      "Redistribution of OSPF routes";
5324                    container internal {4669                    container internal {
5325                      must "not(../external or ../nssa-external)";4670                      must "not(../external or ../nssa-external)";
5326                      presence "Indicates a internal node is configured.";4671                      presence "Indicates a internal node is configured.";
5327                      description4672                      description
5328                        "Redistribute OSPF internal routes";4673                        "Redistribute OSPF internal routes";
5329                    }4674                    }
5330                    container external {4675                    container external {
5331                      must "not(../internal or ../nssa-external)";4676                      must "not(../internal or ../nssa-external)";
5332                      presence "Indicates a external node is configured.";4677                      presence "Indicates a external node is configured.";
5333                      description4678                      description
5334                        "Redistribute OSPF external routes";4679                        "Redistribute OSPF external routes";
5335                    }4680                    }
5336                    container nssa-external {4681                    container nssa-external {
5337                      must "not(../internal or ../external)";4682                      must "not(../internal or ../external)";
5338                      presence "Indicates a nssa-external node is configured.";4683                      presence "Indicates a nssa-external node is configured.";
5339                      description4684                      description
5340                        "Redistribute OSPF NSSA external routes";4685                        "Redistribute OSPF NSSA external routes";
5341                    }4686                    }
5342                  }4687                  }
5343                  container level-1-2 {4688                  container level-1-2 {
5344                    must "not(../level-1) and not(../level-2)";4689                    must "not(../level-1) and not(../level-2)";
5345                    presence "Indicates a level-1-2 node is configured.";4690                    presence "Indicates a level-1-2 node is configured.";
5346                    description4691                    description
5347                      "Redistribute routes into both levels";4692                      "Redistribute routes into both levels";
5348                  }4693                  }
5349                  container level-2 {4694                  container level-2 {
5350                    must "not(../level-1-2) and not(../level-1)";4695                    must "not(../level-1-2) and not(../level-1)";
5351                    presence "Indicates a level-2 node is configured.";4696                    presence "Indicates a level-2 node is configured.";
5352                    description4697                    description
5353                      "Redistribute routes into level 2 only (the default)";4698                      "Redistribute routes into level 2 only (the default)";
5354                  }4699                  }
5355                  container level-1 {4700                  container level-1 {
5356                    must "not(../level-1-2) and not(../level-2)";4701                    must "not(../level-1-2) and not(../level-2)";
5357                    presence "Indicates a level-1 node is configured.";4702                    presence "Indicates a level-1 node is configured.";
5358                    description4703                    description
5359                      "Redistribute routes into level 1 only";4704                      "Redistribute routes into level 1 only";
5360                  }4705                  }
5361                  leaf metric {4706                  leaf metric {
5362                    type uint32 {4707                    type uint32 {
5363                      range "0..16777215" {4708                      range "0..16777215" {
5364                        description4709                        description
5365                          "Default metric: <0-63> for narrow, <0-16777215> for wide";4710                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5366                      }4711                      }
5367                    }4712                    }
5368                    description4713                    description
5369                      "Metric for redistributed routes";4714                      "Metric for redistributed routes";
5370                  }4715                  }
5371                  leaf route-policy {4716                  leaf route-policy {
5372                    type xr:Route-policy-name;4717                    type xr:Route-policy-name;
5373                    description4718                    description
5374                      "Route policy reference";4719                      "Route policy reference";
5375                  }4720                  }
5376                  leaf metric-type {4721                  leaf metric-type {
5377                    type enumeration {4722                    type enumeration {
5378                      enum "internal" {4723                      enum "internal" {
5379                        value 0;4724                        value 0;
5380                        description4725                        description
5381                          "Set IS-IS Internal metric type";4726                          "Set IS-IS Internal metric type";
5382                      }4727                      }
5383                      enum "external" {4728                      enum "external" {
5384                        value 1;4729                        value 1;
5385                        description4730                        description
5386                          "Set IS-IS External metric type";4731                          "Set IS-IS External metric type";
5387                      }4732                      }
5388                      enum "rib-metric-as-internal" {4733                      enum "rib-metric-as-internal" {
5389                        value 2;4734                        value 2;
5390                        description4735                        description
5391                          "Set IS-IS Internal metric type and use RIB metric";4736                          "Set IS-IS Internal metric type and use RIB metric";
5392                      }4737                      }
5393                      enum "rib-metric-as-external" {4738                      enum "rib-metric-as-external" {
5394                        value 3;4739                        value 3;
5395                        description4740                        description
5396                          "Set IS-IS External metric type and use RIB metric";4741                          "Set IS-IS External metric type and use RIB metric";
5397                      }4742                      }
5398                    }4743                    }
5399                    description4744                    description
5400                      "IS-IS metric type for redistributed routes";4745                      "IS-IS metric type for redistributed routes";
5401                  }4746                  }
5402                }4747                }
5403                list ospfv3 {4748                list ospfv3 {
5404                  when "../../af-name = 'ipv6'";4749                  when "../../af-name = 'ipv6'";
5405                  key "process-id";4750                  key "process-id";
5406                  description4751                  description
5407                    "Open Shortest Path First (OSPFv3)";4752                    "Open Shortest Path First (OSPFv3)";
5408                  leaf process-id {4753                  leaf process-id {
5409                    type string {4754                    type string {
5410                      length "1..1024" {4755                      length "1..1024" {
5411                        description4756                        description
5412                          "OSPF process ID";4757                          "OSPF process ID";
5413                      }4758                      }
5414                    }4759                    }
5415                    description4760                    description
5416                      "Open Shortest Path First (OSPFv3)";4761                      "Open Shortest Path First (OSPFv3)";
5417                  }4762                  }
5418                  container match {4763                  container match {
5419                    description4764                    description
5420                      "Redistribution of OSPF routes";4765                      "Redistribution of OSPF routes";
5421                    container internal {4766                    container internal {
5422                      must "not(../external or ../nssa-external)";4767                      must "not(../external or ../nssa-external)";
5423                      presence "Indicates a internal node is configured.";4768                      presence "Indicates a internal node is configured.";
5424                      description4769                      description
5425                        "Redistribute OSPF internal routes";4770                        "Redistribute OSPF internal routes";
5426                    }4771                    }
5427                    container external {4772                    container external {
5428                      must "not(../internal or ../nssa-external)";4773                      must "not(../internal or ../nssa-external)";
5429                      presence "Indicates a external node is configured.";4774                      presence "Indicates a external node is configured.";
5430                      description4775                      description
5431                        "Redistribute OSPF external routes";4776                        "Redistribute OSPF external routes";
5432                    }4777                    }
5433                    container nssa-external {4778                    container nssa-external {
5434                      must "not(../internal or ../external)";4779                      must "not(../internal or ../external)";
5435                      presence "Indicates a nssa-external node is configured.";4780                      presence "Indicates a nssa-external node is configured.";
5436                      description4781                      description
5437                        "Redistribute OSPF NSSA external routes";4782                        "Redistribute OSPF NSSA external routes";
5438                    }4783                    }
5439                  }4784                  }
5440                  container level-1-2 {4785                  container level-1-2 {
5441                    must "not(../level-1) and not(../level-2)";4786                    must "not(../level-1) and not(../level-2)";
5442                    presence "Indicates a level-1-2 node is configured.";4787                    presence "Indicates a level-1-2 node is configured.";
5443                    description4788                    description
5444                      "Redistribute routes into both levels";4789                      "Redistribute routes into both levels";
5445                  }4790                  }
5446                  container level-2 {4791                  container level-2 {
5447                    must "not(../level-1-2) and not(../level-1)";4792                    must "not(../level-1-2) and not(../level-1)";
5448                    presence "Indicates a level-2 node is configured.";4793                    presence "Indicates a level-2 node is configured.";
5449                    description4794                    description
5450                      "Redistribute routes into level 2 only (the default)";4795                      "Redistribute routes into level 2 only (the default)";
5451                  }4796                  }
5452                  container level-1 {4797                  container level-1 {
5453                    must "not(../level-1-2) and not(../level-2)";4798                    must "not(../level-1-2) and not(../level-2)";
5454                    presence "Indicates a level-1 node is configured.";4799                    presence "Indicates a level-1 node is configured.";
5455                    description4800                    description
5456                      "Redistribute routes into level 1 only";4801                      "Redistribute routes into level 1 only";
5457                  }4802                  }
5458                  leaf metric {4803                  leaf metric {
5459                    type uint32 {4804                    type uint32 {
5460                      range "0..16777215" {4805                      range "0..16777215" {
5461                        description4806                        description
5462                          "Default metric: <0-63> for narrow, <0-16777215> for wide";4807                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5463                      }4808                      }
5464                    }4809                    }
5465                    description4810                    description
5466                      "Metric for redistributed routes";4811                      "Metric for redistributed routes";
5467                  }4812                  }
5468                  leaf route-policy {4813                  leaf route-policy {
5469                    type xr:Route-policy-name;4814                    type xr:Route-policy-name;
5470                    description4815                    description
5471                      "Route policy reference";4816                      "Route policy reference";
5472                  }4817                  }
5473                  leaf metric-type {4818                  leaf metric-type {
5474                    type enumeration {4819                    type enumeration {
5475                      enum "internal" {4820                      enum "internal" {
5476                        value 0;4821                        value 0;
5477                        description4822                        description
5478                          "Set IS-IS Internal metric type";4823                          "Set IS-IS Internal metric type";
5479                      }4824                      }
5480                      enum "external" {4825                      enum "external" {
5481                        value 1;4826                        value 1;
5482                        description4827                        description
5483                          "Set IS-IS External metric type";4828                          "Set IS-IS External metric type";
5484                      }4829                      }
5485                      enum "rib-metric-as-internal" {4830                      enum "rib-metric-as-internal" {
5486                        value 2;4831                        value 2;
5487                        description4832                        description
5488                          "Set IS-IS Internal metric type and use RIB metric";4833                          "Set IS-IS Internal metric type and use RIB metric";
5489                      }4834                      }
5490                      enum "rib-metric-as-external" {4835                      enum "rib-metric-as-external" {
5491                        value 3;4836                        value 3;
5492                        description4837                        description
5493                          "Set IS-IS External metric type and use RIB metric";4838                          "Set IS-IS External metric type and use RIB metric";
5494                      }4839                      }
5495                    }4840                    }
5496                    description4841                    description
5497                      "IS-IS metric type for redistributed routes";4842                      "IS-IS metric type for redistributed routes";
5498                  }4843                  }
5499                }4844                }
5500                container static {4845                container static {
5501                  presence "Indicates a static node is configured.";4846                  presence "Indicates a static node is configured.";
5502                  description4847                  description
5503                    "Static routes";4848                    "Static routes";
5504                  container level-1-2 {4849                  container level-1-2 {
5505                    must "not(../level-2) and not(../level-1)";4850                    must "not(../level-2) and not(../level-1)";
5506                    presence "Indicates a level-1-2 node is configured.";4851                    presence "Indicates a level-1-2 node is configured.";
5507                    description4852                    description
5508                      "Redistribute routes into both levels";4853                      "Redistribute routes into both levels";
5509                  }4854                  }
5510                  container level-2 {4855                  container level-2 {
5511                    must "not(../level-1-2) and not(../level-1)";4856                    must "not(../level-1-2) and not(../level-1)";
5512                    presence "Indicates a level-2 node is configured.";4857                    presence "Indicates a level-2 node is configured.";
5513                    description4858                    description
5514                      "Redistribute routes into level 2 only (the default)";4859                      "Redistribute routes into level 2 only (the default)";
5515                  }4860                  }
5516                  container level-1 {4861                  container level-1 {
5517                    must "not(../level-1-2) and not(../level-2)";4862                    must "not(../level-1-2) and not(../level-2)";
5518                    presence "Indicates a level-1 node is configured.";4863                    presence "Indicates a level-1 node is configured.";
5519                    description4864                    description
5520                      "Redistribute routes into level 1 only";4865                      "Redistribute routes into level 1 only";
5521                  }4866                  }
5522                  leaf metric {4867                  leaf metric {
5523                    type uint32 {4868                    type uint32 {
5524                      range "0..16777215" {4869                      range "0..16777215" {
5525                        description4870                        description
5526                          "Default metric: <0-63> for narrow, <0-16777215> for wide";4871                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5527                      }4872                      }
5528                    }4873                    }
5529                    description4874                    description
5530                      "Metric for redistributed routes";4875                      "Metric for redistributed routes";
5531                  }4876                  }
5532                  leaf route-policy {4877                  leaf route-policy {
5533                    type xr:Route-policy-name;4878                    type xr:Route-policy-name;
5534                    description4879                    description
5535                      "Route policy reference";4880                      "Route policy reference";
5536                  }4881                  }
5537                  leaf metric-type {4882                  leaf metric-type {
5538                    type enumeration {4883                    type enumeration {
5539                      enum "internal" {4884                      enum "internal" {
5540                        value 0;4885                        value 0;
5541                        description4886                        description
5542                          "Set IS-IS Internal metric type";4887                          "Set IS-IS Internal metric type";
5543                      }4888                      }
5544                      enum "external" {4889                      enum "external" {
5545                        value 1;4890                        value 1;
5546                        description4891                        description
5547                          "Set IS-IS External metric type";4892                          "Set IS-IS External metric type";
5548                      }4893                      }
5549                      enum "rib-metric-as-internal" {4894                      enum "rib-metric-as-internal" {
5550                        value 2;4895                        value 2;
5551                        description4896                        description
5552                          "Set IS-IS Internal metric type and use RIB metric";4897                          "Set IS-IS Internal metric type and use RIB metric";
5553                      }4898                      }
5554                      enum "rib-metric-as-external" {4899                      enum "rib-metric-as-external" {
5555                        value 3;4900                        value 3;
5556                        description4901                        description
5557                          "Set IS-IS External metric type and use RIB metric";4902                          "Set IS-IS External metric type and use RIB metric";
5558                      }4903                      }
5559                    }4904                    }
5560                    description4905                    description
5561                      "IS-IS metric type for redistributed routes";4906                      "IS-IS metric type for redistributed routes";
5562                  }4907                  }
5563                }4908                }
5564                container subscriber {4909                container subscriber {
5565                  presence "Indicates a subscriber node is configured.";4910                  presence "Indicates a subscriber node is configured.";
5566                  description4911                  description
5567                    "Subscriber routes";4912                    "Subscriber routes";
5568                  container level-1-2 {4913                  container level-1-2 {
5569                    must "not(../level-2) and not(../level-1)";4914                    must "not(../level-2) and not(../level-1)";
5570                    presence "Indicates a level-1-2 node is configured.";4915                    presence "Indicates a level-1-2 node is configured.";
5571                    description4916                    description
5572                      "Redistribute routes into both levels";4917                      "Redistribute routes into both levels";
5573                  }4918                  }
5574                  container level-2 {4919                  container level-2 {
5575                    must "not(../level-2) and not(../level-1)";4920                    must "not(../level-2) and not(../level-1)";
5576                    presence "Indicates a level-2 node is configured.";4921                    presence "Indicates a level-2 node is configured.";
5577                    description4922                    description
5578                      "Redistribute routes into level 2 only (the default)";4923                      "Redistribute routes into level 2 only (the default)";
5579                  }4924                  }
5580                  container level-1 {4925                  container level-1 {
5581                    must "not(../level-1-2) and not(../level-2)";4926                    must "not(../level-1-2) and not(../level-2)";
5582                    presence "Indicates a level-1 node is configured.";4927                    presence "Indicates a level-1 node is configured.";
5583                    description4928                    description
5584                      "Redistribute routes into level 1 only";4929                      "Redistribute routes into level 1 only";
5585                  }4930                  }
5586                  leaf metric {4931                  leaf metric {
5587                    type uint32 {4932                    type uint32 {
5588                      range "0..16777215" {4933                      range "0..16777215" {
5589                        description4934                        description
5590                          "Default metric: <0-63> for narrow, <0-16777215> for wide";4935                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5591                      }4936                      }
5592                    }4937                    }
5593                    description4938                    description
5594                      "Metric for redistributed routes";4939                      "Metric for redistributed routes";
5595                  }4940                  }
5596                  leaf route-policy {4941                  leaf route-policy {
5597                    type xr:Route-policy-name;4942                    type xr:Route-policy-name;
5598                    description4943                    description
5599                      "Route policy reference";4944                      "Route policy reference";
5600                  }4945                  }
5601                  leaf metric-type {4946                  leaf metric-type {
5602                    type enumeration {4947                    type enumeration {
5603                      enum "internal" {4948                      enum "internal" {
5604                        value 0;4949                        value 0;
5605                        description4950                        description
5606                          "Set IS-IS Internal metric type";4951                          "Set IS-IS Internal metric type";
5607                      }4952                      }
5608                      enum "external" {4953                      enum "external" {
5609                        value 1;4954                        value 1;
5610                        description4955                        description
5611                          "Set IS-IS External metric type";4956                          "Set IS-IS External metric type";
5612                      }4957                      }
5613                      enum "rib-metric-as-internal" {4958                      enum "rib-metric-as-internal" {
5614                        value 2;4959                        value 2;
5615                        description4960                        description
5616                          "Set IS-IS Internal metric type and use RIB metric";4961                          "Set IS-IS Internal metric type and use RIB metric";
5617                      }4962                      }
5618                      enum "rib-metric-as-external" {4963                      enum "rib-metric-as-external" {
5619                        value 3;4964                        value 3;
5620                        description4965                        description
5621                          "Set IS-IS External metric type and use RIB metric";4966                          "Set IS-IS External metric type and use RIB metric";
5622                      }4967                      }
5623                    }4968                    }
5624                    description4969                    description
5625                      "IS-IS metric type for redistributed routes";4970                      "IS-IS metric type for redistributed routes";
5626                  }4971                  }
5627                }4972                }
5628                container rip {4973                container rip {
5629                  presence "Indicates a rip node is configured.";4974                  presence "Indicates a rip node is configured.";
5630                  description4975                  description
5631                    "RIP routes";4976                    "RIP routes";
5632                  container level-1-2 {4977                  container level-1-2 {
5633                    must "not(../level-2) and not(../level-1)";4978                    must "not(../level-2) and not(../level-1)";
5634                    presence "Indicates a level-1-2 node is configured.";4979                    presence "Indicates a level-1-2 node is configured.";
5635                    description4980                    description
5636                      "Redistribute routes into both levels";4981                      "Redistribute routes into both levels";
5637                  }4982                  }
5638                  container level-2 {4983                  container level-2 {
5639                    must "not(../level-1-2) and not(../level-1)";4984                    must "not(../level-1-2) and not(../level-1)";
5640                    presence "Indicates a level-2 node is configured.";4985                    presence "Indicates a level-2 node is configured.";
5641                    description4986                    description
5642                      "Redistribute routes into level 2 only (the default)";4987                      "Redistribute routes into level 2 only (the default)";
5643                  }4988                  }
5644                  container level-1 {4989                  container level-1 {
5645                    must "not(../level-1-2) and not(../level-2)";4990                    must "not(../level-1-2) and not(../level-2)";
5646                    presence "Indicates a level-1 node is configured.";4991                    presence "Indicates a level-1 node is configured.";
5647                    description4992                    description
5648                      "Redistribute routes into level 1 only";4993                      "Redistribute routes into level 1 only";
5649                  }4994                  }
5650                  leaf metric {4995                  leaf metric {
5651                    type uint32 {4996                    type uint32 {
5652                      range "0..16777215" {4997                      range "0..16777215" {
5653                        description4998                        description
5654                          "Default metric: <0-63> for narrow, <0-16777215> for wide";4999                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5655                      }5000                      }
5656                    }5001                    }
5657                    description5002                    description
5658                      "Metric for redistributed routes";5003                      "Metric for redistributed routes";
5659                  }5004                  }
5660                  leaf route-policy {5005                  leaf route-policy {
5661                    type xr:Route-policy-name;5006                    type xr:Route-policy-name;
5662                    description5007                    description
5663                      "Route policy reference";5008                      "Route policy reference";
5664                  }5009                  }
5665                  leaf metric-type {5010                  leaf metric-type {
5666                    type enumeration {5011                    type enumeration {
5667                      enum "internal" {5012                      enum "internal" {
5668                        value 0;5013                        value 0;
5669                        description5014                        description
5670                          "Set IS-IS Internal metric type";5015                          "Set IS-IS Internal metric type";
5671                      }5016                      }
5672                      enum "external" {5017                      enum "external" {
5673                        value 1;5018                        value 1;
5674                        description5019                        description
5675                          "Set IS-IS External metric type";5020                          "Set IS-IS External metric type";
5676                      }5021                      }
5677                      enum "rib-metric-as-internal" {5022                      enum "rib-metric-as-internal" {
5678                        value 2;5023                        value 2;
5679                        description5024                        description
5680                          "Set IS-IS Internal metric type and use RIB metric";5025                          "Set IS-IS Internal metric type and use RIB metric";
5681                      }5026                      }
5682                      enum "rib-metric-as-external" {5027                      enum "rib-metric-as-external" {
5683                        value 3;5028                        value 3;
5684                        description5029                        description
5685                          "Set IS-IS External metric type and use RIB metric";5030                          "Set IS-IS External metric type and use RIB metric";
5686                      }5031                      }
5687                    }5032                    }
5688                    description5033                    description
5689                      "IS-IS metric type for redistributed routes";5034                      "IS-IS metric type for redistributed routes";
5690                  }5035                  }
5691                }5036                }
5692                container mobile {5037                container mobile {
5693                  presence "Indicates a mobile node is configured.";5038                  presence "Indicates a mobile node is configured.";
5694                  description5039                  description
5695                    "Mobile routes";5040                    "Mobile routes";
5696                  container level-1-2 {5041                  container level-1-2 {
5697                    must "not(../level-2) and not(../level-1)";5042                    must "not(../level-2) and not(../level-1)";
5698                    presence "Indicates a level-1-2 node is configured.";5043                    presence "Indicates a level-1-2 node is configured.";
5699                    description5044                    description
5700                      "Redistribute routes into both levels";5045                      "Redistribute routes into both levels";
5701                  }5046                  }
5702                  container level-2 {5047                  container level-2 {
5703                    must "not(../level-1-2) and not(../level-1)";5048                    must "not(../level-1-2) and not(../level-1)";
5704                    presence "Indicates a level-2 node is configured.";5049                    presence "Indicates a level-2 node is configured.";
5705                    description5050                    description
5706                      "Redistribute routes into level 2 only (the default)";5051                      "Redistribute routes into level 2 only (the default)";
5707                  }5052                  }
5708                  container level-1 {5053                  container level-1 {
5709                    must "not(../level-1-2) and not(../level-2)";5054                    must "not(../level-1-2) and not(../level-2)";
5710                    presence "Indicates a level-1 node is configured.";5055                    presence "Indicates a level-1 node is configured.";
5711                    description5056                    description
5712                      "Redistribute routes into level 1 only";5057                      "Redistribute routes into level 1 only";
5713                  }5058                  }
5714                  leaf metric {5059                  leaf metric {
5715                    type uint32 {5060                    type uint32 {
5716                      range "0..16777215" {5061                      range "0..16777215" {
5717                        description5062                        description
5718                          "Default metric: <0-63> for narrow, <0-16777215> for wide";5063                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5719                      }5064                      }
5720                    }5065                    }
5721                    description5066                    description
5722                      "Metric for redistributed routes";5067                      "Metric for redistributed routes";
5723                  }5068                  }
5724                  leaf route-policy {5069                  leaf route-policy {
5725                    type xr:Route-policy-name;5070                    type xr:Route-policy-name;
5726                    description5071                    description
5727                      "Route policy reference";5072                      "Route policy reference";
5728                  }5073                  }
5729                  leaf metric-type {5074                  leaf metric-type {
5730                    type enumeration {5075                    type enumeration {
5731                      enum "internal" {5076                      enum "internal" {
5732                        value 0;5077                        value 0;
5733                        description5078                        description
5734                          "Set IS-IS Internal metric type";5079                          "Set IS-IS Internal metric type";
5735                      }5080                      }
5736                      enum "external" {5081                      enum "external" {
5737                        value 1;5082                        value 1;
5738                        description5083                        description
5739                          "Set IS-IS External metric type";5084                          "Set IS-IS External metric type";
5740                      }5085                      }
5741                      enum "rib-metric-as-internal" {5086                      enum "rib-metric-as-internal" {
5742                        value 2;5087                        value 2;
5743                        description5088                        description
5744                          "Set IS-IS Internal metric type and use RIB metric";5089                          "Set IS-IS Internal metric type and use RIB metric";
5745                      }5090                      }
5746                      enum "rib-metric-as-external" {5091                      enum "rib-metric-as-external" {
5747                        value 3;5092                        value 3;
5748                        description5093                        description
5749                          "Set IS-IS External metric type and use RIB metric";5094                          "Set IS-IS External metric type and use RIB metric";
5750                      }5095                      }
5751                    }5096                    }
5752                    description5097                    description
5753                      "IS-IS metric type for redistributed routes";5098                      "IS-IS metric type for redistributed routes";
5754                  }5099                  }
5755                }5100                }
5756                container applications {5101                container applications {
5757                  description5102                  description
5758                    "Application routes";5103                    "Application routes";
5759                  list application {5104                  list application {
5760                    key "application-name";5105                    key "application-name";
5761                    description5106                    description
5762                      "Application routes";5107                      "Application routes";
5763                    leaf application-name {5108                    leaf application-name {
5764                      type string {5109                      type string {
5765                        length "1..1024" {5110                        length "1..1024" {
5766                          description5111                          description
5767                            "OnePK application name";5112                            "OnePK application name";
5768                        }5113                        }
5769                      }5114                      }
5770                      description5115                      description
5771                        "Application routes";5116                        "Application routes";
5772                    }5117                    }
5773                    container level-1-2 {5118                    container level-1-2 {
5774                      must "not(../level-2) and not(../level-1)";5119                      must "not(../level-2) and not(../level-1)";
5775                      presence "Indicates a level-1-2 node is configured.";5120                      presence "Indicates a level-1-2 node is configured.";
5776                      description5121                      description
5777                        "Redistribute routes into both levels";5122                        "Redistribute routes into both levels";
5778                    }5123                    }
5779                    container level-2 {5124                    container level-2 {
5780                      must "not(../level-1-2) and not(../level-1)";5125                      must "not(../level-1-2) and not(../level-1)";
5781                      presence "Indicates a level-2 node is configured.";5126                      presence "Indicates a level-2 node is configured.";
5782                      description5127                      description
5783                        "Redistribute routes into level 2 only (the default)";5128                        "Redistribute routes into level 2 only (the default)";
5784                    }5129                    }
5785                    container level-1 {5130                    container level-1 {
5786                      must "not(../level-1-2) and not(../level-2)";5131                      must "not(../level-1-2) and not(../level-2)";
5787                      presence "Indicates a level-1 node is configured.";5132                      presence "Indicates a level-1 node is configured.";
5788                      description5133                      description
5789                        "Redistribute routes into level 1 only";5134                        "Redistribute routes into level 1 only";
5790                    }5135                    }
5791                    leaf metric {5136                    leaf metric {
5792                      type uint32 {5137                      type uint32 {
5793                        range "0..16777215" {5138                        range "0..16777215" {
5794                          description5139                          description
5795                            "Default metric: <0-63> for narrow, <0-16777215> for wide";5140                            "Default metric: <0-63> for narrow, <0-16777215> for wide";
5796                        }5141                        }
5797                      }5142                      }
5798                      description5143                      description
5799                        "Metric for redistributed routes";5144                        "Metric for redistributed routes";
5800                    }5145                    }
5801                    leaf route-policy {5146                    leaf route-policy {
5802                      type xr:Route-policy-name;5147                      type xr:Route-policy-name;
5803                      description5148                      description
5804                        "Route policy reference";5149                        "Route policy reference";
5805                    }5150                    }
5806                    leaf metric-type {5151                    leaf metric-type {
5807                      type enumeration {5152                      type enumeration {
5808                        enum "internal" {5153                        enum "internal" {
5809                          value 0;5154                          value 0;
5810                          description5155                          description
5811                            "Set IS-IS Internal metric type";5156                            "Set IS-IS Internal metric type";
5812                        }5157                        }
5813                        enum "external" {5158                        enum "external" {
5814                          value 1;5159                          value 1;
5815                          description5160                          description
5816                            "Set IS-IS External metric type";5161                            "Set IS-IS External metric type";
5817                        }5162                        }
5818                        enum "rib-metric-as-internal" {5163                        enum "rib-metric-as-internal" {
5819                          value 2;5164                          value 2;
5820                          description5165                          description
5821                            "Set IS-IS Internal metric type and use RIB metric";5166                            "Set IS-IS Internal metric type and use RIB metric";
5822                        }5167                        }
5823                        enum "rib-metric-as-external" {5168                        enum "rib-metric-as-external" {
5824                          value 3;5169                          value 3;
5825                          description5170                          description
5826                            "Set IS-IS External metric type and use RIB metric";5171                            "Set IS-IS External metric type and use RIB metric";
5827                        }5172                        }
5828                      }5173                      }
5829                      description5174                      description
5830                        "IS-IS metric type for redistributed routes";5175                        "IS-IS metric type for redistributed routes";
5831                    }5176                    }
5832                  }5177                  }
5833                }5178                }
5834                list isis {5179                list isis {
5835                  key "instance-id";5180                  key "instance-id";
5836                  description5181                  description
5837                    "IS-IS";5182                    "IS-IS";
5838                  leaf instance-id {5183                  leaf instance-id {
5839                    type string {5184                    type string {
5840                      length "1..1024" {5185                      length "1..1024" {
5841                        description5186                        description
5842                          "IS-IS instance identifier";5187                          "IS-IS instance identifier";
5843                      }5188                      }
5844                    }5189                    }
5845                    description5190                    description
5846                      "IS-IS";5191                      "IS-IS";
5847                  }5192                  }
5848                  container level-1-2 {5193                  container level-1-2 {
5849                    must "not(../level-2) and not(../level-1)";5194                    must "not(../level-2) and not(../level-1)";
5850                    presence "Indicates a level-1-2 node is configured.";5195                    presence "Indicates a level-1-2 node is configured.";
5851                    description5196                    description
5852                      "Redistribute routes into both levels";5197                      "Redistribute routes into both levels";
5853                  }5198                  }
5854                  container level-2 {5199                  container level-2 {
5855                    must "not(../level-1-2) and not(../level-1)";5200                    must "not(../level-1-2) and not(../level-1)";
5856                    presence "Indicates a level-2 node is configured.";5201                    presence "Indicates a level-2 node is configured.";
5857                    description5202                    description
5858                      "Redistribute routes into level 2 only (the default)";5203                      "Redistribute routes into level 2 only (the default)";
5859                  }5204                  }
5860                  container level-1 {5205                  container level-1 {
5861                    must "not(../level-1-2) and not(../level-2)";5206                    must "not(../level-1-2) and not(../level-2)";
5862                    presence "Indicates a level-1 node is configured.";5207                    presence "Indicates a level-1 node is configured.";
5863                    description5208                    description
5864                      "Redistribute routes into level 1 only";5209                      "Redistribute routes into level 1 only";
5865                  }5210                  }
5866                  leaf metric {5211                  leaf metric {
5867                    type uint32 {5212                    type uint32 {
5868                      range "0..16777215" {5213                      range "0..16777215" {
5869                        description5214                        description
5870                          "Default metric: <0-63> for narrow, <0-16777215> for wide";5215                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
5871                      }5216                      }
5872                    }5217                    }
5873                    description5218                    description
5874                      "Metric for redistributed routes";5219                      "Metric for redistributed routes";
5875                  }5220                  }
5876                  leaf route-policy {5221                  leaf route-policy {
5877                    type xr:Route-policy-name;5222                    type xr:Route-policy-name;
5878                    description5223                    description
5879                      "Route policy reference";5224                      "Route policy reference";
5880                  }5225                  }
5881                  leaf metric-type {5226                  leaf metric-type {
5882                    type enumeration {5227                    type enumeration {
5883                      enum "internal" {5228                      enum "internal" {
5884                        value 0;5229                        value 0;
5885                        description5230                        description
5886                          "Set IS-IS Internal metric type";5231                          "Set IS-IS Internal metric type";
5887                      }5232                      }
5888                      enum "external" {5233                      enum "external" {
5889                        value 1;5234                        value 1;
5890                        description5235                        description
5891                          "Set IS-IS External metric type";5236                          "Set IS-IS External metric type";
5892                      }5237                      }
5893                      enum "rib-metric-as-internal" {5238                      enum "rib-metric-as-internal" {
5894                        value 2;5239                        value 2;
5895                        description5240                        description
5896                          "Set IS-IS Internal metric type and use RIB metric";5241                          "Set IS-IS Internal metric type and use RIB metric";
5897                      }5242                      }
5898                      enum "rib-metric-as-external" {5243                      enum "rib-metric-as-external" {
5899                        value 3;5244                        value 3;
5900                        description5245                        description
5901                          "Set IS-IS External metric type and use RIB metric";5246                          "Set IS-IS External metric type and use RIB metric";
5902                      }5247                      }
5903                    }5248                    }
5904                    description5249                    description
5905                      "IS-IS metric type for redistributed routes";5250                      "IS-IS metric type for redistributed routes";
5906                  }5251                  }
5907                  container down-flag-clear {5252                  container down-flag-clear {
5908                    presence "Indicates a down-flag-clear node is configured.";5253                    presence "Indicates a down-flag-clear node is configured.";
5909                    description5254                    description
5910                      "Set the up/down bit to 0 in prefix advertisements";5255                      "Set the up/down bit to 0 in prefix advertisements";
5911                  }5256                  }
5912                }5257                }
5913                container bgp {5258                container bgp {
5914                  description5259                  description
5915                    "Border Gateway Protocol (BGP)";5260                    "Border Gateway Protocol (BGP)";
5916                  list as {5261                  list as {
5917                    key "as-number";5262                    key "as-number";
5918                    description5263                    description
5919                      "bgp as-number";5264                      "bgp as-number";
5920                    leaf as-number {5265                    leaf as-number {
5921                      type xr:Bgp-as-number;5266                      type xr:Bgp-as-number;
5922                      description5267                      description
5923                        "bgp as-number";5268                        "bgp as-number";
5924                    }5269                    }
5925                    container level-1-2 {5270                    container level-1-2 {
5926                      must "not(../level-2) and not(../level-1)";5271                      must "not(../level-2) and not(../level-1)";
5927                      presence "Indicates a level-1-2 node is configured.";5272                      presence "Indicates a level-1-2 node is configured.";
5928                      description5273                      description
5929                        "Redistribute routes into both levels";5274                        "Redistribute routes into both levels";
5930                    }5275                    }
5931                    container level-2 {5276                    container level-2 {
5932                      must "not(../level-1-2) and not(../level-1)";5277                      must "not(../level-1-2) and not(../level-1)";
5933                      presence "Indicates a level-2 node is configured.";5278                      presence "Indicates a level-2 node is configured.";
5934                      description5279                      description
5935                        "Redistribute routes into level 2 only (the default)";5280                        "Redistribute routes into level 2 only (the default)";
5936                    }5281                    }
5937                    container level-1 {5282                    container level-1 {
5938                      must "not(../level-1-2) and not(../level-2)";5283                      must "not(../level-1-2) and not(../level-2)";
5939                      presence "Indicates a level-1 node is configured.";5284                      presence "Indicates a level-1 node is configured.";
5940                      description5285                      description
5941                        "Redistribute routes into level 1 only";5286                        "Redistribute routes into level 1 only";
5942                    }5287                    }
5943                    leaf metric {5288                    leaf metric {
5944                      type uint32 {5289                      type uint32 {
5945                        range "0..16777215" {5290                        range "0..16777215" {
5946                          description5291                          description
5947                            "Default metric: <0-63> for narrow, <0-16777215> for wide";5292                            "Default metric: <0-63> for narrow, <0-16777215> for wide";
5948                        }5293                        }
5949                      }5294                      }
5950                      description5295                      description
5951                        "Metric for redistributed routes";5296                        "Metric for redistributed routes";
5952                    }5297                    }
5953                    leaf route-policy {5298                    leaf route-policy {
5954                      type xr:Route-policy-name;5299                      type xr:Route-policy-name;
5955                      description5300                      description
5956                        "Route policy reference";5301                        "Route policy reference";
5957                    }5302                    }
5958                    leaf metric-type {5303                    leaf metric-type {
5959                      type enumeration {5304                      type enumeration {
5960                        enum "internal" {5305                        enum "internal" {
5961                          value 0;5306                          value 0;
5962                          description5307                          description
5963                            "Set IS-IS Internal metric type";5308                            "Set IS-IS Internal metric type";
5964                        }5309                        }
5965                        enum "external" {5310                        enum "external" {
5966                          value 1;5311                          value 1;
5967                          description5312                          description
5968                            "Set IS-IS External metric type";5313                            "Set IS-IS External metric type";
5969                        }5314                        }
5970                        enum "rib-metric-as-internal" {5315                        enum "rib-metric-as-internal" {
5971                          value 2;5316                          value 2;
5972                          description5317                          description
5973                            "Set IS-IS Internal metric type and use RIB metric";5318                            "Set IS-IS Internal metric type and use RIB metric";
5974                        }5319                        }
5975                        enum "rib-metric-as-external" {5320                        enum "rib-metric-as-external" {
5976                          value 3;5321                          value 3;
5977                          description5322                          description
5978                            "Set IS-IS External metric type and use RIB metric";5323                            "Set IS-IS External metric type and use RIB metric";
5979                        }5324                        }
5980                      }5325                      }
5981                      description5326                      description
5982                        "IS-IS metric type for redistributed routes";5327                        "IS-IS metric type for redistributed routes";
5983                    }5328                    }
5984                  }5329                  }
5985                }5330                }
5986                list eigrp {5331                list eigrp {
5987                  key "as-number";5332                  key "as-number";
5988                  description5333                  description
5989                    "EIGRP Protocol";5334                    "EIGRP Protocol";
5990                  leaf as-number {5335                  leaf as-number {
5991                    type uint32 {5336                    type uint32 {
5992                      range "1..65535" {5337                      range "1..65535" {
5993                        description5338                        description
5994                          "Autonomous system number";5339                          "Autonomous system number";
5995                      }5340                      }
5996                    }5341                    }
5997                    description5342                    description
5998                      "EIGRP Protocol";5343                      "EIGRP Protocol";
5999                  }5344                  }
6000                  container match {5345                  container match {
6001                    description5346                    description
6002                      "Redistribution of EIGRP routes";5347                      "Redistribution of EIGRP routes";
6003                    container internal {5348                    container internal {
6004                      must "not(../external)";5349                      must "not(../external)";
6005                      presence "Indicates a internal node is configured.";5350                      presence "Indicates a internal node is configured.";
6006                      description5351                      description
6007                        "Redistribute EIGRP internal routes";5352                        "Redistribute EIGRP internal routes";
6008                    }5353                    }
6009                    container external {5354                    container external {
6010                      must "not(../internal)";5355                      must "not(../internal)";
6011                      presence "Indicates a external node is configured.";5356                      presence "Indicates a external node is configured.";
6012                      description5357                      description
6013                        "Redistribute EIGRP external routes";5358                        "Redistribute EIGRP external routes";
6014                    }5359                    }
6015                  }5360                  }
6016                  container level-1-2 {5361                  container level-1-2 {
6017                    must "not(../level-2) and not(../level-1)";5362                    must "not(../level-2) and not(../level-1)";
6018                    presence "Indicates a level-1-2 node is configured.";5363                    presence "Indicates a level-1-2 node is configured.";
6019                    description5364                    description
6020                      "Redistribute routes into both levels";5365                      "Redistribute routes into both levels";
6021                  }5366                  }
6022                  container level-2 {5367                  container level-2 {
6023                    must "not(../level-1-2) and not(../level-1)";5368                    must "not(../level-1-2) and not(../level-1)";
6024                    presence "Indicates a level-2 node is configured.";5369                    presence "Indicates a level-2 node is configured.";
6025                    description5370                    description
6026                      "Redistribute routes into level 2 only (the default)";5371                      "Redistribute routes into level 2 only (the default)";
6027                  }5372                  }
6028                  container level-1 {5373                  container level-1 {
6029                    must "not(../level-1-2) and not(../level-2)";5374                    must "not(../level-1-2) and not(../level-2)";
6030                    presence "Indicates a level-1 node is configured.";5375                    presence "Indicates a level-1 node is configured.";
6031                    description5376                    description
6032                      "Redistribute routes into level 1 only";5377                      "Redistribute routes into level 1 only";
6033                  }5378                  }
6034                  leaf metric {5379                  leaf metric {
6035                    type uint32 {5380                    type uint32 {
6036                      range "0..16777215" {5381                      range "0..16777215" {
6037                        description5382                        description
6038                          "Default metric: <0-63> for narrow, <0-16777215> for wide";5383                          "Default metric: <0-63> for narrow, <0-16777215> for wide";
6039                      }5384                      }
6040                    }5385                    }
6041                    description5386                    description
6042                      "Metric for redistributed routes";5387                      "Metric for redistributed routes";
6043                  }5388                  }
6044                  leaf route-policy {5389                  leaf route-policy {
6045                    type xr:Route-policy-name;5390                    type xr:Route-policy-name;
6046                    description5391                    description
6047                      "Route policy reference";5392                      "Route policy reference";
6048                  }5393                  }
6049                  leaf metric-type {5394                  leaf metric-type {
6050                    type enumeration {5395                    type enumeration {
6051                      enum "internal" {5396                      enum "internal" {
6052                        value 0;5397                        value 0;
6053                        description5398                        description
6054                          "Set IS-IS Internal metric type";5399                          "Set IS-IS Internal metric type";
6055                      }5400                      }
6056                      enum "external" {5401                      enum "external" {
6057                        value 1;5402                        value 1;
6058                        description5403                        description
6059                          "Set IS-IS External metric type";5404                          "Set IS-IS External metric type";
6060                      }5405                      }
6061                      enum "rib-metric-as-internal" {5406                      enum "rib-metric-as-internal" {
6062                        value 2;5407                        value 2;
6063                        description5408                        description
6064                          "Set IS-IS Internal metric type and use RIB metric";5409                          "Set IS-IS Internal metric type and use RIB metric";
6065                      }5410                      }
6066                      enum "rib-metric-as-external" {5411                      enum "rib-metric-as-external" {
6067                        value 3;5412                        value 3;
6068                        description5413                        description
6069                          "Set IS-IS External metric type and use RIB metric";5414                          "Set IS-IS External metric type and use RIB metric";
6070                      }5415                      }
6071                    }5416                    }
6072                    description5417                    description
6073                      "IS-IS metric type for redistributed routes";5418                      "IS-IS metric type for redistributed routes";
6074                  }5419                  }
6075                }5420                }
6076              }5421              }
6077              leaf maximum-paths {5422              leaf maximum-paths {
6078                type uint32 {5423                type uint32 {
6079                  range "1..64" {5424                  range "1..64" {
6080                    description5425                    description
6081                      "Number of paths";5426                      "Number of paths";
6082                  }5427                  }
6083                }5428                }
6084                description5429                description
6085                  "Maximum number of active parallel paths per route";5430                  "Maximum number of active parallel paths per route";
6086              }5431              }
6087              container advertise {5432              container advertise {
6088                description5433                description
6089                  "Control what we advertise in our LSP";5434                  "Control what we advertise in our LSP";
6090                container passive-only {5435                container passive-only {
6091                  presence "Indicates a passive-only node is configured.";5436                  presence "Indicates a passive-only node is configured.";
6092                  description5437                  description
6093                    "Advertise prefixes of passive interfaces only";5438                    "Advertise prefixes of passive interfaces only";
6094                }5439                }
6095                container link {5440                container link {
6096                  description5441                  description
6097                    "IS Neighbor attributes";5442                    "IS Neighbor attributes";
6098                  container attributes {5443                  container attributes {
6099                    presence "Indicates a attributes node is configured.";5444                    presence "Indicates a attributes node is configured.";
6100                    description5445                    description
6101                      "Advertise additional link attributes";5446                      "Advertise additional link attributes";
6102                  }5447                  }
6103                }5448                }
6104                container application {5449                container application {
6105                  description5450                  description
6106                    "Application Specific Data";5451                    "Application Specific Data";
6107                  container lfa {5452                  container lfa {
6108                    description5453                    description
6109                      "LFA Application";5454                      "LFA Application";
6110                    container link-attributes {5455                    container link-attributes {
6111                      description5456                      description
6112                        "Application Specific Link Attributes";5457                        "Application Specific Link Attributes";
6113                      container srlg {5458                      container srlg {
6114                        presence "Indicates a srlg node is configured.";5459                        presence "Indicates a srlg node is configured.";
6115                        description5460                        description
6116                          "Shared Risk Ling Group";5461                          "Shared Risk Ling Group";
6117                      }5462                      }
6118                    }5463                    }
6119                  }5464                  }
6120                  container flex-algo {5465                  container flex-algo {
6121                    description5466                    description
6122                      "Flex-Algo Application";5467                      "Flex-Algo Application";
6123                    container link-attributes {5468                    container link-attributes {
6124                      description5469                      description
6125                        "Application Specific Link Attributes";5470                        "Application Specific Link Attributes";
6126                      container srlg {5471                      container srlg {
6127                        presence "Indicates a srlg node is configured.";5472                        presence "Indicates a srlg node is configured.";
6128                        description5473                        description
6129                          "Shared Risk Ling Group";5474                          "Shared Risk Ling Group";
6130                      }5475                      }
6131                    }5476                    }
6132                  }5477                  }
6133                }5478                }
6134              }5479              }
6135              container ucmp {5480              container ucmp {
6136                description5481                description
6137                  "UnEqual Cost Multipath feature";5482                  "UnEqual Cost Multipath feature";
6138                container variance {5483                container variance {
6139                  presence "Indicates a variance node is configured.";5484                  presence "Indicates a variance node is configured.";
6140                  description5485                  description
6141                    "Specify Variance parameter to filter UCMP paths based on cost";5486                    "Specify Variance parameter to filter UCMP paths based on cost";
6142                  leaf variance-value {5487                  leaf variance-value {
6143                    type uint32 {5488                    type uint32 {
6144                      range "101..10000" {5489                      range "101..10000" {
6145                        description5490                        description
6146                          "Variance value";5491                          "Variance value";
6147                      }5492                      }
6148                    }5493                    }
6149                    mandatory true;5494                    mandatory true;
6150                    description5495                    description
6151                      "Specify Variance parameter to filter UCMP paths based on cost";5496                      "Specify Variance parameter to filter UCMP paths based on cost";
6152                  }5497                  }
6153                  leaf prefix-list {5498                  leaf prefix-list {
6154                    type string {5499                    type string {
6155                      length "1..1024" {5500                      length "1..1024" {
6156                        description5501                        description
6157                          "Name of the prefix-list";5502                          "Name of the prefix-list";
6158                      }5503                      }
6159                    }5504                    }
6160                    description5505                    description
6161                      "Specify prefix-list name to filter UCMP paths based on prefixes";5506                      "Specify prefix-list name to filter UCMP paths based on prefixes";
6162                  }5507                  }
6163                }5508                }
6164                container exclude {5509                container exclude {
6165                  description5510                  description
6166                    "UCMP interface exclusion information";5511                    "UCMP interface exclusion information";
6167                  container interfaces {5512                  container interfaces {
6168                    description5513                    description
6169                      "Exclude an interface from UCMP computation";5514                      "Exclude an interface from UCMP computation";
6170                    list interface {5515                    list interface {
6171                      key "interface-name";5516                      key "interface-name";
6172                      description5517                      description
6173                        "Exclude an interface from UCMP computation";5518                        "Exclude an interface from UCMP computation";
6174                      leaf interface-name {5519                      leaf interface-name {
6175                        type xr:Interface-name;5520                        type xr:Interface-name;
6176                        description5521                        description
6177                          "Exclude an interface from UCMP computation";5522                          "Exclude an interface from UCMP computation";
6178                      }5523                      }
6179                    }5524                    }
6180                  }5525                  }
6181                }5526                }
6182                leaf delay-interval {5527                leaf delay-interval {
6183                  type uint32 {5528                  type uint32 {
6184                    range "100..65535" {5529                    range "100..65535" {
6185                      description5530                      description
6186                        "Delay interval value in milliseconds";5531                        "Delay interval value in milliseconds";
6187                    }5532                    }
6188                  }5533                  }
6189                  description5534                  description
6190                    "UCMP delay interval";5535                    "UCMP delay interval";
6191                }5536                }
6192              }5537              }
6193              container microloop {5538              container microloop {
6194                description5539                description
6195                  "Enable microloop protection feature";5540                  "Enable microloop protection feature";
6196                container avoidance {5541                container avoidance {
6197                  presence "Indicates a avoidance node is configured.";5542                  presence "Indicates a avoidance node is configured.";
6198                  description5543                  description
6199                    "Enable local microloop avoidance";5544                    "Enable local microloop avoidance";
6200                  container protected {5545                  container protected {
6201                    must "not(../segment-routing)";5546                    must "not(../segment-routing)";
6202                    presence "Indicates a protected node is configured.";5547                    presence "Indicates a protected node is configured.";
6203                    description5548                    description
6204                      "Enable microloop avoidance for only protected prefixes";5549                      "Enable microloop avoidance for only protected prefixes";
6205                  }5550                  }
6206                  container segment-routing {5551                  container segment-routing {
6207                    must "not(../protected)";5552                    must "not(../protected)";
6208                    presence "Indicates a segment-routing node is configured.";5553                    presence "Indicates a segment-routing node is configured.";
6209                    description5554                    description
6210                      "Enable segment routing microloop avoidance ";5555                      "Enable segment routing microloop avoidance ";
6211                  }5556                  }
6212                }5557                }
6213                leaf avoidance-rib-update-delay {5558                leaf avoidance-rib-update-delay {
6214                  type uint32 {5559                  type uint32 {
6215                    range "1000..65535" {5560                    range "1000..65535" {
6216                      description5561                      description
6217                        "Set value of delay";5562                        "Set value of delay";
6218                    }5563                    }
6219                  }5564                  }
6220                  description5565                  description
6221                    "Delay in milliseconds";5566                    "Delay in milliseconds";
6222                }5567                }
6223              }5568              }
6224              container apply-weight {5569              container apply-weight {
6225                description5570                description
6226                  "Apply weight";5571                  "Apply weight";
6227                container ecmp-only {5572                container ecmp-only {
6228                  must "not(../ucmp-only)";5573                  must "not(../ucmp-only)";
6229                  presence "Indicates a ecmp-only node is configured.";5574                  presence "Indicates a ecmp-only node is configured.";
6230                  description5575                  description
6231                    "Apply weights to ecmp paths only";5576                    "Apply weights to ecmp paths only";
6232                  container bandwidth {5577                  container bandwidth {
6233                    presence "Indicates a bandwidth node is configured.";5578                    presence "Indicates a bandwidth node is configured.";
6234                    description5579                    description
6235                      "Apply weight calculated based on interface bandwidth";5580                      "Apply weight calculated based on interface bandwidth";
6236                  }5581                  }
6237                }5582                }
6238                container ucmp-only {5583                container ucmp-only {
6239                  must "not(../ecmp-only)";5584                  must "not(../ecmp-only)";
6240                  presence "Indicates a ucmp-only node is configured.";5585                  presence "Indicates a ucmp-only node is configured.";
6241                  description5586                  description
6242                    "Apply weights to ucmp paths only";5587                    "Apply weights to ucmp paths only";
6243                }5588                }
6244              }5589              }
6245              container summary-prefixes {5590              container summary-prefixes {
6246                description5591                description
6247                  "Configure IP address prefixes";5592                  "Configure IP address prefixes";
6248                list summary-prefix {5593                list summary-prefix {
6249                  key "address-prefix";5594                  key "address-prefix";
6250                  description5595                  description
6251                    "Summary prefix";5596                    "Summary prefix";
6252                  leaf address-prefix {5597                  leaf address-prefix {
6253                    type inet:ip-prefix;5598                    type inet:ip-prefix;
6254                    description5599                    description
6255                      "Specify prefix associated with this Prefix Segement ID";5600                      "Specify prefix associated with this Prefix Segement ID";
6256                  }5601                  }
6257                  leaf tag {5602                  leaf tag {
6258                    type uint32 {5603                    type uint32 {
6259                      range "1..4294967295" {5604                      range "1..4294967295" {
6260                        description5605                        description
6261                          "The tag value";5606                          "The tag value";
6262                      }5607                      }
6263                    }5608                    }
6264                    description5609                    description
6265                      "Set a tag";5610                      "Set a tag";
6266                  }5611                  }
6267                  leaf level {5612                  leaf level {
6268                    type uint32 {5613                    type uint32 {
6269                      range "1..2" {5614                      range "1..2" {
6270                        description5615                        description
6271                          "Level";5616                          "Level";
6272                      }5617                      }
6273                    }5618                    }
6274                    description5619                    description
6275                      "Summarize routes in one level only";5620                      "Summarize routes in one level only";
6276                  }5621                  }
6277                  leaf algorithm {5622                  leaf algorithm {
6278                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";5623                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";
6279                    type uint32 {5624                    type uint32 {
6280                      range "128..255";5625                      range "128..255";
6281                    }5626                    }
6282                    description5627                    description
6283                      "Flexible Algorithm number";5628                      "Flexible Algorithm number";
6284                  }5629                  }
6285                  container explicit {5630                  container explicit {
6286                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";5631                    when "../../../af-name = 'ipv6' and ../../../saf-name = 'unicast'";
6287                    presence "Indicates a explicit node is configured.";5632                    presence "Indicates a explicit node is configured.";
6288                    description5633                    description
6289                      "Strict flex-algo locator summarization mode";5634                      "Strict flex-algo locator summarization mode";
6290                  }5635                  }
6291                }5636                }
6292              }5637              }
6293              container metric {5638              container metric {
6294                description5639                description
6295                  "Configure default metric";5640                  "Configure default metric";
6296                container default-metric {5641                container default-metric {
6297                  description5642                  description
6298                    "Default metric: <1-63> for narrow, <1-16777214> for wide";5643                    "Default metric: <1-63> for narrow, <1-16777214> for wide";
6299                  leaf default-metric-value {5644                  leaf default-metric-value {
6300                    type uint32 {5645                    type uint32 {
6301                      range "1..16777214" {5646                      range "1..16777214" {
6302                        description5647                        description
6303                          "Default metric: <1-63> for narrow, <1-16777214> for wide";5648                          "Default metric: <1-63> for narrow, <1-16777214> for wide";
6304                      }5649                      }
6305                    }5650                    }
6306                    description5651                    description
6307                      "Default metric: <1-63> for narrow, <1-16777214> for wide";5652                      "Default metric: <1-63> for narrow, <1-16777214> for wide";
6308                  }5653                  }
6309                  container levels {5654                  container levels {
6310                    description5655                    description
6311                      "Set metric for one level only";5656                      "Set metric for one level only";
6312                    list level {5657                    list level {
6313                      key "level-id";5658                      key "level-id";
6314                      description5659                      description
6315                        "Set metric for one level only";5660                        "Set metric for one level only";
6316                      leaf level-id {5661                      leaf level-id {
6317                        type uint32 {5662                        type uint32 {
6318                          range "1..2" {5663                          range "1..2" {
6319                            description5664                            description
6320                              "Set metric at this level only";5665                              "Set metric at this level only";
6321                          }5666                          }
6322                        }5667                        }
6323                        description5668                        description
6324                          "Set metric for one level only";5669                          "Set metric for one level only";
6325                      }5670                      }
6326                      leaf default-metric-value {5671                      leaf default-metric-value {
6327                        type uint32 {5672                        type uint32 {
6328                          range "1..16777214" {5673                          range "1..16777214" {
6329                            description5674                            description
6330                              "Default metric: <1-63> for narrow, <1-16777214> for wide";5675                              "Default metric: <1-63> for narrow, <1-16777214> for wide";
6331                          }5676                          }
6332                        }5677                        }
6333                        mandatory true;5678                        mandatory true;
6334                        description5679                        description
6335                          "Default metric: <1-63> for narrow, <1-16777214> for wide";5680                          "Default metric: <1-63> for narrow, <1-16777214> for wide";
6336                      }5681                      }
6337                    }5682                    }
6338                  }5683                  }
6339                }5684                }
6340              }5685              }
6341              container metric-style {5686              container metric-style {
6342                description5687                description
6343                  "Use old-style (ISO 10589) or new-style packet formats";5688                  "Use old-style (ISO 10589) or new-style packet formats";
6344                container narrow {5689                container narrow {
6345                  must "not(../wide or ../transition)";5690                  must "not(../wide or ../transition)";
6346                  presence "Indicates a narrow node is configured.";5691                  presence "Indicates a narrow node is configured.";
6347                  description5692                  description
6348                    "Use old style of TLVs with narrow metric";5693                    "Use old style of TLVs with narrow metric";
6349                }5694                }
6350                container wide {5695                container wide {
6351                  must "not(../narrow or ../transition)";5696                  must "not(../narrow or ../transition)";
6352                  presence "Indicates a wide node is configured.";5697                  presence "Indicates a wide node is configured.";
6353                  description5698                  description
6354                    "Use new style of TLVs to carry wider metric";5699                    "Use new style of TLVs to carry wider metric";
6355                }5700                }
6356                container transition {5701                container transition {
6357                  must "not(../narrow or ../wide)";5702                  must "not(../narrow or ../wide)";
6358                  presence "Indicates a transition node is configured.";5703                  presence "Indicates a transition node is configured.";
6359                  description5704                  description
6360                    "Send and accept both styles of TLVs during transition";5705                    "Send and accept both styles of TLVs during transition";
6361                }5706                }
6362                container levels {5707                container levels {
6363                  description5708                  description
6364                    "Set metric-style for one level only";5709                    "Set metric-style for one level only";
6365                  list level {5710                  list level {
6366                    key "level-id";5711                    key "level-id";
6367                    description5712                    description
6368                      "Set metric-style for one level only";5713                      "Set metric-style for one level only";
6369                    leaf level-id {5714                    leaf level-id {
6370                      type uint32 {5715                      type uint32 {
6371                        range "1..2" {5716                        range "1..2" {
6372                          description5717                          description
6373                            "Level";5718                            "Level";
6374                        }5719                        }
6375                      }5720                      }
6376                      description5721                      description
6377                        "Set metric-style for one level only";5722                        "Set metric-style for one level only";
6378                    }5723                    }
6379                    container narrow {5724                    container narrow {
6380                      must "not(../wide or ../transition)";5725                      must "not(../wide or ../transition)";
6381                      presence "Indicates a narrow node is configured.";5726                      presence "Indicates a narrow node is configured.";
6382                      description5727                      description
6383                        "Use old style of TLVs with narrow metric";5728                        "Use old style of TLVs with narrow metric";
6384                    }5729                    }
6385                    container wide {5730                    container wide {
6386                      must "not(../narrow or ../transition)";5731                      must "not(../narrow or ../transition)";
6387                      presence "Indicates a wide node is configured.";5732                      presence "Indicates a wide node is configured.";
6388                      description5733                      description
6389                        "Use new style of TLVs to carry wider metric";5734                        "Use new style of TLVs to carry wider metric";
6390                    }5735                    }
6391                    container transition {5736                    container transition {
6392                      must "not(../narrow or ../wide)";5737                      must "not(../narrow or ../wide)";
6393                      presence "Indicates a transition node is configured.";5738                      presence "Indicates a transition node is configured.";
6394                      description5739                      description
6395                        "Send and accept both styles of TLVs during transition";5740                        "Send and accept both styles of TLVs during transition";
6396                    }5741                    }
6397                  }5742                  }
6398                }5743                }
6399              }5744              }
6400              container spf-interval {5745              container spf-interval {
6401                description5746                description
6402                  "Route calculation scheduling parameters (FSPF, ISPF, PRC)";5747                  "Route calculation scheduling parameters (FSPF, ISPF, PRC)";
n6403                container ietf {n
6404                  presence "Indicates a ietf node is configured.";
6405                  description
6406                    "Use RFC 8405 backoff algorithm";
6407                  leaf initial-wait-time {
6408                    type uint32 {
6409                      range "0..120000" {
6410                        description
6411                          "Delay in milliseconds";
6412                      }
6413                    }
6414                    description
6415                      "Initial delay before running a route calculation";
6416                  }
6417                  leaf short-wait-time {
6418                    type uint32 {
6419                      range "0..120000" {
6420                        description
6421                          "Delay in milliseconds";
6422                      }
6423                    }
6424                    description
6425                      "Short delay before running a route calculation";
6426                  }
6427                  leaf long-wait-time {
6428                    type uint32 {
6429                      range "0..120000" {
6430                        description
6431                          "Delay in milliseconds";
6432                      }
6433                    }
6434                    description
6435                      "Long delay before running a route calculation";
6436                  }
6437                  leaf learn-interval-time {
6438                    type uint32 {
6439                      range "0..120000" {
6440                        description
6441                          "Delay in milliseconds";
6442                      }
6443                    }
6444                    description
6445                      "Time To Learn interval for running a route calculation";
6446                  }
6447                  leaf holddown-interval-time {
6448                    type uint32 {
6449                      range "0..120000" {
6450                        description
6451                          "Delay in milliseconds";
6452                      }
6453                    }
6454                    description
6455                      "Holddown interval for running a route calculation";
6456                  }
6457                }
6458                container maximum-wait {5748                container maximum-wait {
6459                  description5749                  description
6460                    "Maximum delay before running a route calculation";5750                    "Maximum delay before running a route calculation";
6461                  leaf maximum-wait-time {5751                  leaf maximum-wait-time {
6462                    type uint32 {5752                    type uint32 {
6463                      range "0..120000" {5753                      range "0..120000" {
6464                        description5754                        description
6465                          "Delay in milliseconds";5755                          "Delay in milliseconds";
6466                      }5756                      }
6467                    }5757                    }
6468                    description5758                    description
6469                      "Maximum delay before running a route calculation";5759                      "Maximum delay before running a route calculation";
6470                  }5760                  }
6471                }5761                }
6472                container initial-wait {5762                container initial-wait {
6473                  description5763                  description
6474                    "Initial delay before running a route calculation";5764                    "Initial delay before running a route calculation";
6475                  leaf initial-wait-time {5765                  leaf initial-wait-time {
6476                    type uint32 {5766                    type uint32 {
6477                      range "0..120000" {5767                      range "0..120000" {
6478                        description5768                        description
6479                          "Delay in milliseconds";5769                          "Delay in milliseconds";
6480                      }5770                      }
6481                    }5771                    }
6482                    description5772                    description
6483                      "Initial delay before running a route calculation";5773                      "Initial delay before running a route calculation";
6484                  }5774                  }
6485                }5775                }
6486                container secondary-wait {5776                container secondary-wait {
6487                  description5777                  description
6488                    "Secondary delay before running a route calculation";5778                    "Secondary delay before running a route calculation";
6489                  leaf secondary-wait-time {5779                  leaf secondary-wait-time {
6490                    type uint32 {5780                    type uint32 {
6491                      range "0..120000" {5781                      range "0..120000" {
6492                        description5782                        description
6493                          "Delay in milliseconds";5783                          "Delay in milliseconds";
6494                      }5784                      }
6495                    }5785                    }
6496                    description5786                    description
6497                      "Secondary delay before running a route calculation";5787                      "Secondary delay before running a route calculation";
6498                  }5788                  }
6499                }5789                }
6500                container levels {5790                container levels {
6501                  description5791                  description
6502                    "Set SPF interval for one level only";5792                    "Set SPF interval for one level only";
6503                  list level {5793                  list level {
6504                    key "level-id";5794                    key "level-id";
6505                    description5795                    description
6506                      "Set SPF interval for one level only";5796                      "Set SPF interval for one level only";
6507                    leaf level-id {5797                    leaf level-id {
6508                      type uint32 {5798                      type uint32 {
6509                        range "1..2" {5799                        range "1..2" {
6510                          description5800                          description
6511                            "Level";5801                            "Level";
6512                        }5802                        }
6513                      }5803                      }
6514                      description5804                      description
6515                        "Set SPF interval for one level only";5805                        "Set SPF interval for one level only";
n6516                    }n
6517                    container ietf {
6518                      presence "Indicates a ietf node is configured.";
6519                      description
6520                        "Use RFC 8405 backoff algorithm";
6521                      leaf initial-wait-time {
6522                        type uint32 {
6523                          range "0..120000" {
6524                            description
6525                              "Delay in milliseconds";
6526                          }
6527                        }
6528                        description
6529                          "Initial delay before running a route calculation";
6530                      }
6531                      leaf short-wait-time {
6532                        type uint32 {
6533                          range "0..120000" {
6534                            description
6535                              "Delay in milliseconds";
6536                          }
6537                        }
6538                        description
6539                          "Short delay before running a route calculation";
6540                      }
6541                      leaf long-wait-time {
6542                        type uint32 {
6543                          range "0..120000" {
6544                            description
6545                              "Delay in milliseconds";
6546                          }
6547                        }
6548                        description
6549                          "Long delay before running a route calculation";
6550                      }
6551                      leaf learn-interval-time {
6552                        type uint32 {
6553                          range "0..120000" {
6554                            description
6555                              "Delay in milliseconds";
6556                          }
6557                        }
6558                        description
6559                          "Time To Learn interval for running a route calculation";
6560                      }
6561                      leaf holddown-interval-time {
6562                        type uint32 {
6563                          range "0..120000" {
6564                            description
6565                              "Delay in milliseconds";
6566                          }
6567                        }
6568                        description
6569                          "Holddown interval for running a route calculation";
6570                      }
6571                    }5806                    }
6572                    leaf maximum-wait-time {5807                    leaf maximum-wait-time {
6573                      type uint32 {5808                      type uint32 {
6574                        range "0..120000" {5809                        range "0..120000" {
6575                          description5810                          description
6576                            "Delay in milliseconds";5811                            "Delay in milliseconds";
6577                        }5812                        }
6578                      }5813                      }
6579                      description5814                      description
6580                        "Maximum delay before running a route calculation";5815                        "Maximum delay before running a route calculation";
6581                    }5816                    }
6582                    leaf secondary-wait-time {5817                    leaf secondary-wait-time {
6583                      type uint32 {5818                      type uint32 {
6584                        range "0..120000" {5819                        range "0..120000" {
6585                          description5820                          description
6586                            "Delay in milliseconds";5821                            "Delay in milliseconds";
6587                        }5822                        }
6588                      }5823                      }
6589                      description5824                      description
6590                        "Secondary delay before running a route calculation";5825                        "Secondary delay before running a route calculation";
6591                    }5826                    }
6592                    leaf initial-wait-time {5827                    leaf initial-wait-time {
6593                      type uint32 {5828                      type uint32 {
6594                        range "0..120000" {5829                        range "0..120000" {
6595                          description5830                          description
6596                            "Delay in milliseconds";5831                            "Delay in milliseconds";
6597                        }5832                        }
6598                      }5833                      }
6599                      description5834                      description
6600                        "Initial delay before running a route calculation";5835                        "Initial delay before running a route calculation";
6601                    }5836                    }
6602                  }5837                  }
6603                }5838                }
6604              }5839              }
6605              container spf {5840              container spf {
6606                description5841                description
6607                  "SPF configuration";5842                  "SPF configuration";
6608                container periodic {5843                container periodic {
6609                  description5844                  description
6610                    "Configure the periodic SPF";5845                    "Configure the periodic SPF";
6611                  leaf interval {5846                  leaf interval {
6612                    type union {5847                    type union {
6613                      type enumeration {5848                      type enumeration {
6614                        enum "disable-periodic-spf" {5849                        enum "disable-periodic-spf" {
6615                          value 0;5850                          value 0;
6616                          description5851                          description
6617                            "Disable the periodic SPF (spf periodic disable)";5852                            "Disable the periodic SPF (spf periodic disable)";
6618                        }5853                        }
6619                      }5854                      }
6620                      type uint32 {5855                      type uint32 {
6621                        range "1..3600" {5856                        range "1..3600" {
6622                          description5857                          description
6623                            "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";5858                            "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";
6624                        }5859                        }
6625                      }5860                      }
6626                    }5861                    }
6627                    description5862                    description
6628                      "Set the maximum interval in between SPF runs";5863                      "Set the maximum interval in between SPF runs";
6629                  }5864                  }
6630                  container levels {5865                  container levels {
6631                    description5866                    description
6632                      "Configure periodic SPF interval for for one level only";5867                      "Configure periodic SPF interval for for one level only";
6633                    list level {5868                    list level {
6634                      key "level-id";5869                      key "level-id";
6635                      description5870                      description
6636                        "Configure periodic SPF interval for for one level only";5871                        "Configure periodic SPF interval for for one level only";
6637                      leaf level-id {5872                      leaf level-id {
6638                        type uint32 {5873                        type uint32 {
6639                          range "1..2" {5874                          range "1..2" {
6640                            description5875                            description
6641                              "Level";5876                              "Level";
6642                          }5877                          }
6643                        }5878                        }
6644                        description5879                        description
6645                          "Configure periodic SPF interval for for one level only";5880                          "Configure periodic SPF interval for for one level only";
6646                      }5881                      }
6647                      leaf interval {5882                      leaf interval {
6648                        type union {5883                        type union {
6649                          type enumeration {5884                          type enumeration {
6650                            enum "disable-periodic-spf" {5885                            enum "disable-periodic-spf" {
6651                              value 0;5886                              value 0;
6652                              description5887                              description
6653                                "Disable the periodic SPF (spf periodic disable)";5888                                "Disable the periodic SPF (spf periodic disable)";
6654                            }5889                            }
6655                          }5890                          }
6656                          type uint32 {5891                          type uint32 {
6657                            range "1..3600" {5892                            range "1..3600" {
6658                              description5893                              description
6659                                "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";5894                                "Maximum interval in between SPF runs in seconds(spf periodic interval <value>)";
6660                            }5895                            }
6661                          }5896                          }
6662                        }5897                        }
6663                        mandatory true;5898                        mandatory true;
6664                        description5899                        description
6665                          "Set the maximum interval in between SPF runs";5900                          "Set the maximum interval in between SPF runs";
6666                      }5901                      }
6667                    }5902                    }
6668                  }5903                  }
6669                }5904                }
6670                container prefix-priority {5905                container prefix-priority {
6671                  description5906                  description
6672                    "Configure a prefix priority list";5907                    "Configure a prefix priority list";
6673                  list prefix-priority {5908                  list prefix-priority {
6674                    must "tag or access-list-name";5909                    must "tag or access-list-name";
6675                    key "priority";5910                    key "priority";
6676                    description5911                    description
6677                      "Configure a prefix priority list";5912                      "Configure a prefix priority list";
6678                    leaf priority {5913                    leaf priority {
6679                      type enumeration {5914                      type enumeration {
6680                        enum "critical" {5915                        enum "critical" {
6681                          value 0;5916                          value 0;
6682                          description5917                          description
6683                            "Specify critical priority prefixes";5918                            "Specify critical priority prefixes";
6684                        }5919                        }
6685                        enum "high" {5920                        enum "high" {
6686                          value 1;5921                          value 1;
6687                          description5922                          description
6688                            "Specify high priority prefixes";5923                            "Specify high priority prefixes";
6689                        }5924                        }
6690                        enum "medium" {5925                        enum "medium" {
6691                          value 2;5926                          value 2;
6692                          description5927                          description
6693                            "Specify medium priority prefixes";5928                            "Specify medium priority prefixes";
6694                        }5929                        }
6695                      }5930                      }
6696                      description5931                      description
6697                        "prefix priority";5932                        "prefix priority";
6698                    }5933                    }
6699                    leaf tag {5934                    leaf tag {
6700                      type uint32 {5935                      type uint32 {
6701                        range "1..4294967295" {5936                        range "1..4294967295" {
6702                          description5937                          description
6703                            "The tag to indicate priority";5938                            "The tag to indicate priority";
6704                        }5939                        }
6705                      }5940                      }
6706                      must "not(../access-list-name)";5941                      must "not(../access-list-name)";
6707                      description5942                      description
6708                        "Specify a tag to indicate priority";5943                        "Specify a tag to indicate priority";
6709                    }5944                    }
6710                    leaf access-list-name {5945                    leaf access-list-name {
6711                      type string {5946                      type string {
6712                        length "1..1024" {5947                        length "1..1024" {
6713                          description5948                          description
6714                            "Access-list name";5949                            "Access-list name";
6715                        }5950                        }
6716                      }5951                      }
6717                      must "not(../tag)";5952                      must "not(../tag)";
6718                      description5953                      description
6719                        "Access-list name";5954                        "Access-list name";
6720                    }5955                    }
6721                  }5956                  }
6722                  container levels {5957                  container levels {
6723                    description5958                    description
6724                      "Configure SPF prefix priority list for one level only";5959                      "Configure SPF prefix priority list for one level only";
6725                    list level {5960                    list level {
6726                      must "tag or access-list-name";5961                      must "tag or access-list-name";
6727                      key "level-id priority";5962                      key "level-id priority";
6728                      description5963                      description
6729                        "Configure SPF prefix priority list for one level only";5964                        "Configure SPF prefix priority list for one level only";
6730                      leaf level-id {5965                      leaf level-id {
6731                        type uint32 {5966                        type uint32 {
6732                          range "1..2" {5967                          range "1..2" {
6733                            description5968                            description
6734                              "Level";5969                              "Level";
6735                          }5970                          }
6736                        }5971                        }
6737                        description5972                        description
6738                          "Configure SPF prefix priority list for one level only";5973                          "Configure SPF prefix priority list for one level only";
6739                      }5974                      }
6740                      leaf priority {5975                      leaf priority {
6741                        type enumeration {5976                        type enumeration {
6742                          enum "critical" {5977                          enum "critical" {
6743                            value 0;5978                            value 0;
6744                            description5979                            description
6745                              "Specify critical priority prefixes";5980                              "Specify critical priority prefixes";
6746                          }5981                          }
6747                          enum "high" {5982                          enum "high" {
6748                            value 1;5983                            value 1;
6749                            description5984                            description
6750                              "Specify high priority prefixes";5985                              "Specify high priority prefixes";
6751                          }5986                          }
6752                          enum "medium" {5987                          enum "medium" {
6753                            value 2;5988                            value 2;
6754                            description5989                            description
6755                              "Specify medium priority prefixes";5990                              "Specify medium priority prefixes";
6756                          }5991                          }
6757                        }5992                        }
6758                        description5993                        description
6759                          "prefix priority";5994                          "prefix priority";
6760                      }5995                      }
6761                      leaf tag {5996                      leaf tag {
6762                        type uint32 {5997                        type uint32 {
6763                          range "1..4294967295" {5998                          range "1..4294967295" {
6764                            description5999                            description
6765                              "The tag to indicate priority";6000                              "The tag to indicate priority";
6766                          }6001                          }
6767                        }6002                        }
6768                        must "not(../access-list-name)";6003                        must "not(../access-list-name)";
6769                        description6004                        description
6770                          "Specify a tag to indicate priority";6005                          "Specify a tag to indicate priority";
6771                      }6006                      }
6772                      leaf access-list-name {6007                      leaf access-list-name {
6773                        type string {6008                        type string {
6774                          length "1..1024" {6009                          length "1..1024" {
6775                            description6010                            description
6776                              "Access-list name";6011                              "Access-list name";
6777                          }6012                          }
6778                        }6013                        }
6779                        must "not(../tag)";6014                        must "not(../tag)";
6780                        description6015                        description
6781                          "Access-list name";6016                          "Access-list name";
6782                      }6017                      }
6783                    }6018                    }
6784                  }6019                  }
6785                }6020                }
6786              }6021              }
6787              container maximum-redistributed-prefixes {6022              container maximum-redistributed-prefixes {
6788                description6023                description
6789                  "Maximum number of redistributed prefixes";6024                  "Maximum number of redistributed prefixes";
6790                leaf maximum-prefixes {6025                leaf maximum-prefixes {
6791                  type uint32 {6026                  type uint32 {
6792                    range "1..28000" {6027                    range "1..28000" {
6793                      description6028                      description
6794                        "maximum limit on number of redistributed prefixes";6029                        "maximum limit on number of redistributed prefixes";
6795                    }6030                    }
6796                  }6031                  }
6797                  description6032                  description
6798                    "Maximum number of redistributed prefixes";6033                    "Maximum number of redistributed prefixes";
6799                }6034                }
6800                container levels {6035                container levels {
6801                  description6036                  description
6802                    "Set maximum redistributed prefixes for one level only";6037                    "Set maximum redistributed prefixes for one level only";
6803                  list level {6038                  list level {
6804                    key "level-id";6039                    key "level-id";
6805                    description6040                    description
6806                      "Set maximum redistributed prefixes for one level only";6041                      "Set maximum redistributed prefixes for one level only";
6807                    leaf level-id {6042                    leaf level-id {
6808                      type uint32 {6043                      type uint32 {
6809                        range "1..2" {6044                        range "1..2" {
6810                          description6045                          description
6811                            "Level";6046                            "Level";
6812                        }6047                        }
6813                      }6048                      }
6814                      description6049                      description
6815                        "Set maximum redistributed prefixes for one level only";6050                        "Set maximum redistributed prefixes for one level only";
6816                    }6051                    }
6817                    leaf maximum-prefixes {6052                    leaf maximum-prefixes {
6818                      type uint32 {6053                      type uint32 {
6819                        range "1..28000" {6054                        range "1..28000" {
6820                          description6055                          description
6821                            "maximum limit on number of redistributed prefixes";6056                            "maximum limit on number of redistributed prefixes";
6822                        }6057                        }
6823                      }6058                      }
6824                      mandatory true;6059                      mandatory true;
6825                      description6060                      description
6826                        "Maximum number of redistributed prefixes";6061                        "Maximum number of redistributed prefixes";
6827                    }6062                    }
6828                  }6063                  }
6829                }6064                }
6830              }6065              }
6831              container propagates {6066              container propagates {
6832                description6067                description
6833                  "Propagate routes between IS-IS levels";6068                  "Propagate routes between IS-IS levels";
6834                list propagate {6069                list propagate {
6835                  key "level into-level";6070                  key "level into-level";
6836                  description6071                  description
6837                    "Source level";6072                    "Source level";
6838                  leaf level {6073                  leaf level {
6839                    type uint32 {6074                    type uint32 {
6840                      range "1..2" {6075                      range "1..2" {
6841                        description6076                        description
6842                          "Level";6077                          "Level";
6843                      }6078                      }
6844                    }6079                    }
n6845                    descriptionn
6846                      "level";
6847                  }6080                  }
6848                  leaf into-level {6081                  leaf into-level {
6849                    type uint32 {6082                    type uint32 {
6850                      range "1..2" {6083                      range "1..2" {
6851                        description6084                        description
6852                          "Destination level";6085                          "Destination level";
6853                      }6086                      }
6854                    }6087                    }
6855                    description6088                    description
6856                      "into";6089                      "into";
6857                  }6090                  }
6858                  leaf route-policy {6091                  leaf route-policy {
6859                    type xr:Route-policy-name;6092                    type xr:Route-policy-name;
6860                    mandatory true;6093                    mandatory true;
6861                    description6094                    description
6862                      "Propagate only specified routes";6095                      "Propagate only specified routes";
6863                  }6096                  }
6864                }6097                }
6865              }6098              }
6866              container adjacency-check {6099              container adjacency-check {
6867                description6100                description
6868                  "Suppress checking of consistent AF support on received IIHs";6101                  "Suppress checking of consistent AF support on received IIHs";
6869                container disable {6102                container disable {
6870                  presence "Indicates a disable node is configured.";6103                  presence "Indicates a disable node is configured.";
6871                  description6104                  description
6872                    "Disable adjacency-checking";6105                    "Disable adjacency-checking";
6873                }6106                }
6874              }6107              }
6875              container route {6108              container route {
6876                description6109                description
6877                  "Control the advertisement of routes in the RIB";6110                  "Control the advertisement of routes in the RIB";
6878                container source {6111                container source {
6879                  description6112                  description
6880                    "Control the path source value";6113                    "Control the path source value";
6881                  container first-hop {6114                  container first-hop {
6882                    presence "Indicates a first-hop node is configured.";6115                    presence "Indicates a first-hop node is configured.";
6883                    description6116                    description
6884                      "Use the IP address of the first-hop";6117                      "Use the IP address of the first-hop";
6885                  }6118                  }
6886                }6119                }
6887              }6120              }
6888              container attached-bit {6121              container attached-bit {
6889                description6122                description
6890                  "Modify behavior of the attached-bit";6123                  "Modify behavior of the attached-bit";
6891                container send {6124                container send {
6892                  description6125                  description
6893                    "Modify how we set the attached bit";6126                    "Modify how we set the attached bit";
6894                  container always-set {6127                  container always-set {
6895                    must "not(../never-set)";6128                    must "not(../never-set)";
6896                    presence "Indicates a always-set node is configured.";6129                    presence "Indicates a always-set node is configured.";
6897                    description6130                    description
6898                      "Always set the attached bit in our LSP";6131                      "Always set the attached bit in our LSP";
6899                  }6132                  }
6900                  container never-set {6133                  container never-set {
6901                    must "not(../always-set)";6134                    must "not(../always-set)";
6902                    presence "Indicates a never-set node is configured.";6135                    presence "Indicates a never-set node is configured.";
6903                    description6136                    description
6904                      "Never set the attached bit our LSP";6137                      "Never set the attached bit our LSP";
6905                  }6138                  }
6906                }6139                }
6907                container receive {6140                container receive {
6908                  description6141                  description
6909                    "Modify how we treat received attached bits";6142                    "Modify how we treat received attached bits";
6910                  container ignore {6143                  container ignore {
6911                    presence "Indicates a ignore node is configured.";6144                    presence "Indicates a ignore node is configured.";
6912                    description6145                    description
6913                      "Ignore the attached bit in received LSPs";6146                      "Ignore the attached bit in received LSPs";
6914                  }6147                  }
6915                }6148                }
6916              }6149              }
6917              leaf topology-id {6150              leaf topology-id {
6918                type uint32 {6151                type uint32 {
6919                  range "6..4095" {6152                  range "6..4095" {
6920                    description6153                    description
6921                      "The IS-IS MT ID to identify the topology";6154                      "The IS-IS MT ID to identify the topology";
6922                  }6155                  }
6923                }6156                }
6924                description6157                description
6925                  "Specify the IS-IS MT ID for this topology";6158                  "Specify the IS-IS MT ID for this topology";
6926              }6159              }
6927              container fast-reroute {6160              container fast-reroute {
6928                description6161                description
6929                  "Configure Fast ReRoute";6162                  "Configure Fast ReRoute";
6930                leaf delay-interval {6163                leaf delay-interval {
6931                  type uint32 {6164                  type uint32 {
6932                    range "100..60000" {6165                    range "100..60000" {
6933                      description6166                      description
6934                        "Delay before running FRR (milliseconds)";6167                        "Delay before running FRR (milliseconds)";
6935                    }6168                    }
6936                  }6169                  }
6937                  description6170                  description
6938                    "Delay before running FRR computation";6171                    "Delay before running FRR computation";
6939                }6172                }
6940              }6173              }
6941              container monitor-convergence {6174              container monitor-convergence {
6942                presence "Indicates a monitor-convergence node is configured.";6175                presence "Indicates a monitor-convergence node is configured.";
6943                description6176                description
6944                  "Enables convergence monitoring";6177                  "Enables convergence monitoring";
6945                leaf prefix-list {6178                leaf prefix-list {
6946                  type xr:Cisco-ios-xr-string {6179                  type xr:Cisco-ios-xr-string {
6947                    length "1..1024" {6180                    length "1..1024" {
6948                      description6181                      description
6949                        "Prefix List Name";6182                        "Prefix List Name";
6950                    }6183                    }
6951                  }6184                  }
6952                  description6185                  description
6953                    "Enables Individual Prefix Monitoring";6186                    "Enables Individual Prefix Monitoring";
6954                }6187                }
6955                container track-ip-frr {6188                container track-ip-frr {
6956                  presence "Indicates a track-ip-frr node is configured.";6189                  presence "Indicates a track-ip-frr node is configured.";
6957                  description6190                  description
6958                    "Enables Tracking IP-Frr Convergence";6191                    "Enables Tracking IP-Frr Convergence";
6959                }6192                }
6960              }6193              }
6961            }6194            }
6962          }6195          }
6963          container interfaces {6196          container interfaces {
6964            description6197            description
6965              "Enter the IS-IS interface configuration submode";6198              "Enter the IS-IS interface configuration submode";
6966            list interface {6199            list interface {
6967              key "interface-name";6200              key "interface-name";
6968              description6201              description
6969                "Enter the IS-IS interface configuration submode";6202                "Enter the IS-IS interface configuration submode";
6970              leaf interface-name {6203              leaf interface-name {
6971                type xr:Interface-name;6204                type xr:Interface-name;
6972                description6205                description
6973                  "Enter the IS-IS interface configuration submode";6206                  "Enter the IS-IS interface configuration submode";
6974              }6207              }
6975              leaf circuit-type {6208              leaf circuit-type {
6976                type enumeration {6209                type enumeration {
6977                  enum "level-1" {6210                  enum "level-1" {
6978                    value 1;6211                    value 1;
6979                    description6212                    description
6980                      "Form level-1 adjacencies only";6213                      "Form level-1 adjacencies only";
6981                  }6214                  }
6982                  enum "level-2-only" {6215                  enum "level-2-only" {
6983                    value 2;6216                    value 2;
6984                    description6217                    description
6985                      "Form level-2 adjacencies only";6218                      "Form level-2 adjacencies only";
6986                  }6219                  }
6987                  enum "level-1-2" {6220                  enum "level-1-2" {
6988                    value 3;6221                    value 3;
6989                    description6222                    description
6990                      "Form level-1 and level-2 adjacencies";6223                      "Form level-1 and level-2 adjacencies";
6991                  }6224                  }
6992                }6225                }
6993                description6226                description
6994                  "Configure circuit type for interface";6227                  "Configure circuit type for interface";
6995              }6228              }
6996              container csnp-interval {6229              container csnp-interval {
6997                description6230                description
6998                  "Set CSNP interval";6231                  "Set CSNP interval";
6999                leaf csnp-interval-time {6232                leaf csnp-interval-time {
7000                  type uint32 {6233                  type uint32 {
7001                    range "0..65535" {6234                    range "0..65535" {
7002                      description6235                      description
7003                        "CSNP interval value (seconds)";6236                        "CSNP interval value (seconds)";
7004                    }6237                    }
7005                  }6238                  }
7006                  description6239                  description
7007                    "Set CSNP interval";6240                    "Set CSNP interval";
7008                }6241                }
7009                container levels {6242                container levels {
7010                  description6243                  description
7011                    "Set the CSNP interval only at the supplied level";6244                    "Set the CSNP interval only at the supplied level";
7012                  list level {6245                  list level {
7013                    key "level-id";6246                    key "level-id";
7014                    description6247                    description
7015                      "Set the CSNP interval only at the supplied level";6248                      "Set the CSNP interval only at the supplied level";
7016                    leaf level-id {6249                    leaf level-id {
7017                      type uint32 {6250                      type uint32 {
7018                        range "1..2" {6251                        range "1..2" {
7019                          description6252                          description
7020                            "Set the CSNP interval only at this level";6253                            "Set the CSNP interval only at this level";
7021                        }6254                        }
7022                      }6255                      }
7023                      description6256                      description
7024                        "Set the CSNP interval only at the supplied level";6257                        "Set the CSNP interval only at the supplied level";
7025                    }6258                    }
7026                    leaf csnp-interval-time {6259                    leaf csnp-interval-time {
7027                      type uint32 {6260                      type uint32 {
7028                        range "0..65535" {6261                        range "0..65535" {
7029                          description6262                          description
7030                            "CSNP interval value (seconds)";6263                            "CSNP interval value (seconds)";
7031                        }6264                        }
7032                      }6265                      }
7033                      mandatory true;6266                      mandatory true;
7034                      description6267                      description
7035                        "Set CSNP interval";6268                        "Set CSNP interval";
7036                    }6269                    }
7037                  }6270                  }
7038                }6271                }
7039              }6272              }
7040              container hello-padding {6273              container hello-padding {
7041                description6274                description
7042                  "Add padding to IS-IS hello packets";6275                  "Add padding to IS-IS hello packets";
n7043                container always {n
7044                  must "not(../disable or ../sometimes)";
7045                  presence "Indicates a always node is configured.";
7046                  description
7047                    "Always enable hello-padding";
7048                }
7049                container disable {6276                container disable {
7050                  must "not(../sometimes)";6277                  must "not(../sometimes)";
7051                  presence "Indicates a disable node is configured.";6278                  presence "Indicates a disable node is configured.";
7052                  description6279                  description
7053                    "Disable hello-padding";6280                    "Disable hello-padding";
7054                }6281                }
7055                container sometimes {6282                container sometimes {
7056                  must "not(../disable)";6283                  must "not(../disable)";
7057                  presence "Indicates a sometimes node is configured.";6284                  presence "Indicates a sometimes node is configured.";
7058                  description6285                  description
7059                    "Enable hello-padding during adjacency formation only";6286                    "Enable hello-padding during adjacency formation only";
7060                }6287                }
7061                container levels {6288                container levels {
7062                  description6289                  description
7063                    "Set hello-interval for one level only";6290                    "Set hello-interval for one level only";
7064                  list level {6291                  list level {
7065                    key "level-id";6292                    key "level-id";
7066                    description6293                    description
7067                      "Set hello-interval for one level only";6294                      "Set hello-interval for one level only";
7068                    leaf level-id {6295                    leaf level-id {
7069                      type uint32 {6296                      type uint32 {
7070                        range "1..2" {6297                        range "1..2" {
7071                          description6298                          description
7072                            "Set hello-interval for IIHs at this level only";6299                            "Set hello-interval for IIHs at this level only";
7073                        }6300                        }
7074                      }6301                      }
7075                      description6302                      description
7076                        "Set hello-interval for one level only";6303                        "Set hello-interval for one level only";
7077                    }6304                    }
7078                    container disable {6305                    container disable {
7079                      must "not(../sometimes)";6306                      must "not(../sometimes)";
7080                      presence "Indicates a disable node is configured.";6307                      presence "Indicates a disable node is configured.";
7081                      description6308                      description
7082                        "Disable hello-padding";6309                        "Disable hello-padding";
7083                    }6310                    }
7084                    container sometimes {6311                    container sometimes {
7085                      must "not(../disable)";6312                      must "not(../disable)";
7086                      presence "Indicates a sometimes node is configured.";6313                      presence "Indicates a sometimes node is configured.";
7087                      description6314                      description
7088                        "Enable hello-padding during adjacency formation only";6315                        "Enable hello-padding during adjacency formation only";
7089                    }6316                    }
7090                  }6317                  }
7091                }6318                }
7092              }6319              }
7093              container hello-interval {6320              container hello-interval {
7094                description6321                description
7095                  "Set Hello interval in seconds";6322                  "Set Hello interval in seconds";
7096                leaf hello-interval-time {6323                leaf hello-interval-time {
7097                  type uint32 {6324                  type uint32 {
7098                    range "1..65535" {6325                    range "1..65535" {
7099                      description6326                      description
7100                        "Hello interval value";6327                        "Hello interval value";
7101                    }6328                    }
7102                  }6329                  }
7103                  description6330                  description
7104                    "Set Hello interval in seconds";6331                    "Set Hello interval in seconds";
7105                }6332                }
7106                container levels {6333                container levels {
7107                  description6334                  description
7108                    "Set hello-interval for one level only";6335                    "Set hello-interval for one level only";
7109                  list level {6336                  list level {
7110                    key "level-id";6337                    key "level-id";
7111                    description6338                    description
7112                      "Set hello-interval for one level only";6339                      "Set hello-interval for one level only";
7113                    leaf level-id {6340                    leaf level-id {
7114                      type uint32 {6341                      type uint32 {
7115                        range "1..2" {6342                        range "1..2" {
7116                          description6343                          description
7117                            "Set hello-interval for IIHs at this level only";6344                            "Set hello-interval for IIHs at this level only";
7118                        }6345                        }
7119                      }6346                      }
7120                      description6347                      description
7121                        "Set hello-interval for one level only";6348                        "Set hello-interval for one level only";
7122                    }6349                    }
7123                    leaf hello-interval-time {6350                    leaf hello-interval-time {
7124                      type uint32 {6351                      type uint32 {
7125                        range "1..65535" {6352                        range "1..65535" {
7126                          description6353                          description
7127                            "Hello interval value";6354                            "Hello interval value";
7128                        }6355                        }
7129                      }6356                      }
7130                      mandatory true;6357                      mandatory true;
7131                      description6358                      description
7132                        "Set Hello interval in seconds";6359                        "Set Hello interval in seconds";
7133                    }6360                    }
7134                  }6361                  }
7135                }6362                }
7136              }6363              }
7137              container hello-multiplier {6364              container hello-multiplier {
7138                description6365                description
7139                  "Set multiplier for Hello holding time";6366                  "Set multiplier for Hello holding time";
7140                leaf hello-multiplier-value {6367                leaf hello-multiplier-value {
7141                  type uint32 {6368                  type uint32 {
7142                    range "3..1000" {6369                    range "3..1000" {
7143                      description6370                      description
7144                        "Hello multiplier value";6371                        "Hello multiplier value";
7145                    }6372                    }
7146                  }6373                  }
7147                  description6374                  description
7148                    "Set multiplier for Hello holding time";6375                    "Set multiplier for Hello holding time";
7149                }6376                }
7150                container levels {6377                container levels {
7151                  description6378                  description
7152                    "Set hello-multiplier for one level only";6379                    "Set hello-multiplier for one level only";
7153                  list level {6380                  list level {
7154                    key "level-id";6381                    key "level-id";
7155                    description6382                    description
7156                      "Set hello-multiplier for one level only";6383                      "Set hello-multiplier for one level only";
7157                    leaf level-id {6384                    leaf level-id {
7158                      type uint32 {6385                      type uint32 {
7159                        range "1..2" {6386                        range "1..2" {
7160                          description6387                          description
7161                            "Set hello-multiplier for IIHs at this level only";6388                            "Set hello-multiplier for IIHs at this level only";
7162                        }6389                        }
7163                      }6390                      }
7164                      description6391                      description
7165                        "Set hello-multiplier for one level only";6392                        "Set hello-multiplier for one level only";
7166                    }6393                    }
7167                    leaf hello-multiplier-value {6394                    leaf hello-multiplier-value {
7168                      type uint32 {6395                      type uint32 {
7169                        range "3..1000" {6396                        range "3..1000" {
7170                          description6397                          description
7171                            "Hello multiplier value";6398                            "Hello multiplier value";
7172                        }6399                        }
7173                      }6400                      }
7174                      mandatory true;6401                      mandatory true;
7175                      description6402                      description
7176                        "Set multiplier for Hello holding time";6403                        "Set multiplier for Hello holding time";
7177                    }6404                    }
7178                  }6405                  }
7179                }6406                }
7180              }6407              }
7181              container lsp-interval {6408              container lsp-interval {
7182                description6409                description
7183                  "Set LSP transmission interval";6410                  "Set LSP transmission interval";
7184                leaf lsp-interval-time {6411                leaf lsp-interval-time {
7185                  type uint32 {6412                  type uint32 {
7186                    range "1..4294967295" {6413                    range "1..4294967295" {
7187                      description6414                      description
7188                        "LSP transmission interval (milliseconds)";6415                        "LSP transmission interval (milliseconds)";
7189                    }6416                    }
7190                  }6417                  }
7191                  description6418                  description
7192                    "Set LSP transmission interval";6419                    "Set LSP transmission interval";
7193                }6420                }
7194                container levels {6421                container levels {
7195                  description6422                  description
7196                    "set lsp-interval for this level";6423                    "set lsp-interval for this level";
7197                  list level {6424                  list level {
7198                    key "level-id";6425                    key "level-id";
7199                    description6426                    description
7200                      "set lsp-interval for this level";6427                      "set lsp-interval for this level";
7201                    leaf level-id {6428                    leaf level-id {
7202                      type uint32 {6429                      type uint32 {
7203                        range "1..2" {6430                        range "1..2" {
7204                          description6431                          description
7205                            "Set lsp-interval at this level only";6432                            "Set lsp-interval at this level only";
7206                        }6433                        }
7207                      }6434                      }
7208                      description6435                      description
7209                        "set lsp-interval for this level";6436                        "set lsp-interval for this level";
7210                    }6437                    }
7211                    leaf lsp-interval-time {6438                    leaf lsp-interval-time {
7212                      type uint32 {6439                      type uint32 {
7213                        range "1..4294967295" {6440                        range "1..4294967295" {
7214                          description6441                          description
7215                            "LSP transmission interval (milliseconds)";6442                            "LSP transmission interval (milliseconds)";
7216                        }6443                        }
7217                      }6444                      }
7218                      mandatory true;6445                      mandatory true;
7219                      description6446                      description
7220                        "Set LSP transmission interval";6447                        "Set LSP transmission interval";
7221                    }6448                    }
7222                  }6449                  }
7223                }6450                }
7224              }6451              }
7225              container hello-password {6452              container hello-password {
7226                must "text or hmac-md5 or keychain";6453                must "text or hmac-md5 or keychain";
7227                presence "Indicates a hello-password node is configured.";6454                presence "Indicates a hello-password node is configured.";
7228                description6455                description
7229                  "Configure the IIH password";6456                  "Configure the IIH password";
7230                container text {6457                container text {
7231                  must "not(../hmac-md5 or ../keychain)";6458                  must "not(../hmac-md5 or ../keychain)";
7232                  presence "Indicates a text node is configured.";6459                  presence "Indicates a text node is configured.";
7233                  description6460                  description
7234                    "Use cleartext password authentication";6461                    "Use cleartext password authentication";
7235                  leaf encrypted {6462                  leaf encrypted {
7236                    type xr:Proprietary-password;6463                    type xr:Proprietary-password;
7237                    mandatory true;6464                    mandatory true;
7238                    description6465                    description
7239                      "The encrypted LSP/SNP password";6466                      "The encrypted LSP/SNP password";
7240                  }6467                  }
7241                }6468                }
7242                container hmac-md5 {6469                container hmac-md5 {
7243                  must "not(../text or ../keychain)";6470                  must "not(../text or ../keychain)";
7244                  presence "Indicates a hmac-md5 node is configured.";6471                  presence "Indicates a hmac-md5 node is configured.";
7245                  description6472                  description
7246                    "Use HMAC-MD5 authentication";6473                    "Use HMAC-MD5 authentication";
7247                  leaf encrypted {6474                  leaf encrypted {
7248                    type xr:Proprietary-password;6475                    type xr:Proprietary-password;
7249                    mandatory true;6476                    mandatory true;
7250                    description6477                    description
7251                      "The encrypted LSP/SNP password";6478                      "The encrypted LSP/SNP password";
7252                  }6479                  }
7253                }6480                }
7254                container keychain {6481                container keychain {
7255                  must "not(../text or ../hmac-md5)";6482                  must "not(../text or ../hmac-md5)";
7256                  presence "Indicates a keychain node is configured.";6483                  presence "Indicates a keychain node is configured.";
7257                  description6484                  description
7258                    "Specifies a Key Chain name will follow";6485                    "Specifies a Key Chain name will follow";
7259                  leaf keychain-name {6486                  leaf keychain-name {
7260                    type string {6487                    type string {
7261                      length "1..1024" {6488                      length "1..1024" {
7262                        description6489                        description
7263                          "The Key Chain name";6490                          "The Key Chain name";
7264                      }6491                      }
7265                    }6492                    }
7266                    mandatory true;6493                    mandatory true;
7267                    description6494                    description
7268                      "Specifies a Key Chain name will follow";6495                      "Specifies a Key Chain name will follow";
7269                  }6496                  }
7270                }6497                }
7271                container send-only {6498                container send-only {
7272                  presence "Indicates a send-only node is configured.";6499                  presence "Indicates a send-only node is configured.";
7273                  description6500                  description
7274                    "Do not require authentication of incoming IIHs";6501                    "Do not require authentication of incoming IIHs";
7275                }6502                }
7276              }6503              }
7277              container hello-password-levels {6504              container hello-password-levels {
7278                description6505                description
7279                  "Set hello-password for one level only";6506                  "Set hello-password for one level only";
7280                list level {6507                list level {
7281                  must "text or hmac-md5 or keychain";6508                  must "text or hmac-md5 or keychain";
7282                  key "level-id";6509                  key "level-id";
7283                  description6510                  description
7284                    "Set hello-password for one level only";6511                    "Set hello-password for one level only";
7285                  leaf level-id {6512                  leaf level-id {
7286                    type uint32 {6513                    type uint32 {
7287                      range "1..2" {6514                      range "1..2" {
7288                        description6515                        description
7289                          "Set hello-password for IIHs at this level only";6516                          "Set hello-password for IIHs at this level only";
7290                      }6517                      }
7291                    }6518                    }
7292                    description6519                    description
7293                      "Set hello-password for one level only";6520                      "Set hello-password for one level only";
7294                  }6521                  }
7295                  container text {6522                  container text {
7296                    must "not(../hmac-md5 or ../keychain)";6523                    must "not(../hmac-md5 or ../keychain)";
7297                    presence "Indicates a text node is configured.";6524                    presence "Indicates a text node is configured.";
7298                    description6525                    description
7299                      "Use cleartext password authentication";6526                      "Use cleartext password authentication";
7300                    leaf encrypted {6527                    leaf encrypted {
7301                      type xr:Proprietary-password;6528                      type xr:Proprietary-password;
7302                      mandatory true;6529                      mandatory true;
7303                      description6530                      description
7304                        "The encrypted LSP/SNP password";6531                        "The encrypted LSP/SNP password";
7305                    }6532                    }
7306                  }6533                  }
7307                  container hmac-md5 {6534                  container hmac-md5 {
7308                    must "not(../text or ../keychain)";6535                    must "not(../text or ../keychain)";
7309                    presence "Indicates a hmac-md5 node is configured.";6536                    presence "Indicates a hmac-md5 node is configured.";
7310                    description6537                    description
7311                      "Use HMAC-MD5 authentication";6538                      "Use HMAC-MD5 authentication";
7312                    leaf encrypted {6539                    leaf encrypted {
7313                      type xr:Proprietary-password;6540                      type xr:Proprietary-password;
7314                      mandatory true;6541                      mandatory true;
7315                      description6542                      description
7316                        "The encrypted LSP/SNP password";6543                        "The encrypted LSP/SNP password";
7317                    }6544                    }
7318                  }6545                  }
7319                  container keychain {6546                  container keychain {
7320                    must "not(../text or ../hmac-md5)";6547                    must "not(../text or ../hmac-md5)";
7321                    presence "Indicates a keychain node is configured.";6548                    presence "Indicates a keychain node is configured.";
7322                    description6549                    description
7323                      "Specifies a Key Chain name will follow";6550                      "Specifies a Key Chain name will follow";
7324                    leaf keychain-name {6551                    leaf keychain-name {
7325                      type string {6552                      type string {
7326                        length "1..1024" {6553                        length "1..1024" {
7327                          description6554                          description
7328                            "The Key Chain name";6555                            "The Key Chain name";
7329                        }6556                        }
7330                      }6557                      }
7331                      mandatory true;6558                      mandatory true;
7332                      description6559                      description
7333                        "Specifies a Key Chain name will follow";6560                        "Specifies a Key Chain name will follow";
7334                    }6561                    }
7335                  }6562                  }
7336                  container send-only {6563                  container send-only {
7337                    presence "Indicates a send-only node is configured.";6564                    presence "Indicates a send-only node is configured.";
7338                    description6565                    description
7339                      "Do not require authentication of incoming IIHs";6566                      "Do not require authentication of incoming IIHs";
7340                  }6567                  }
7341                }6568                }
7342              }6569              }
7343              container hello-password-accept {6570              container hello-password-accept {
7344                description6571                description
7345                  "Use password for incoming authentication only";6572                  "Use password for incoming authentication only";
7346                leaf encrypted {6573                leaf encrypted {
7347                  type xr:Proprietary-password;6574                  type xr:Proprietary-password;
7348                  description6575                  description
7349                    "The encrypted hello password";6576                    "The encrypted hello password";
7350                }6577                }
7351                container levels {6578                container levels {
7352                  description6579                  description
7353                    "Set hello-password for one level only";6580                    "Set hello-password for one level only";
7354                  list level {6581                  list level {
7355                    key "level-id";6582                    key "level-id";
7356                    description6583                    description
7357                      "Set hello-password for one level only";6584                      "Set hello-password for one level only";
7358                    leaf level-id {6585                    leaf level-id {
7359                      type uint32 {6586                      type uint32 {
7360                        range "1..2" {6587                        range "1..2" {
7361                          description6588                          description
7362                            "Set hello-password for IIHs at this level only";6589                            "Set hello-password for IIHs at this level only";
7363                        }6590                        }
7364                      }6591                      }
7365                      description6592                      description
7366                        "Set hello-password for one level only";6593                        "Set hello-password for one level only";
7367                    }6594                    }
7368                    leaf encrypted {6595                    leaf encrypted {
7369                      type xr:Proprietary-password;6596                      type xr:Proprietary-password;
7370                      mandatory true;6597                      mandatory true;
7371                      description6598                      description
7372                        "The encrypted hello password";6599                        "The encrypted hello password";
7373                    }6600                    }
7374                  }6601                  }
7375                }6602                }
7376              }6603              }
7377              container lsp {6604              container lsp {
7378                description6605                description
7379                  "LSP configuration";6606                  "LSP configuration";
7380                container fast-flood {6607                container fast-flood {
7381                  description6608                  description
7382                    "LSP fast flood configuration";6609                    "LSP fast flood configuration";
7383                  container threshold {6610                  container threshold {
7384                    description6611                    description
7385                      "Set LSP transmission fast flood threshold";6612                      "Set LSP transmission fast flood threshold";
7386                    leaf number-of-lsps {6613                    leaf number-of-lsps {
7387                      type uint32 {6614                      type uint32 {
7388                        range "1..4294967295" {6615                        range "1..4294967295" {
7389                          description6616                          description
7390                            "Number of LSPs to send back to back";6617                            "Number of LSPs to send back to back";
7391                        }6618                        }
7392                      }6619                      }
7393                      description6620                      description
7394                        "Set LSP transmission fast flood threshold";6621                        "Set LSP transmission fast flood threshold";
7395                    }6622                    }
7396                    container levels {6623                    container levels {
7397                      description6624                      description
7398                        "Set lsp fast-flood threshold for this level";6625                        "Set lsp fast-flood threshold for this level";
7399                      list level {6626                      list level {
7400                        key "level-id";6627                        key "level-id";
7401                        description6628                        description
7402                          "Set lsp fast-flood threshold for this level";6629                          "Set lsp fast-flood threshold for this level";
7403                        leaf level-id {6630                        leaf level-id {
7404                          type uint32 {6631                          type uint32 {
7405                            range "1..2" {6632                            range "1..2" {
7406                              description6633                              description
7407                                "Set lsp fast-flood threshold at this level only";6634                                "Set lsp fast-flood threshold at this level only";
7408                            }6635                            }
7409                          }6636                          }
7410                          description6637                          description
7411                            "Set lsp fast-flood threshold for this level";6638                            "Set lsp fast-flood threshold for this level";
7412                        }6639                        }
7413                        leaf number-of-lsps {6640                        leaf number-of-lsps {
7414                          type uint32 {6641                          type uint32 {
7415                            range "1..4294967295" {6642                            range "1..4294967295" {
7416                              description6643                              description
7417                                "Number of LSPs to send back to back";6644                                "Number of LSPs to send back to back";
7418                            }6645                            }
7419                          }6646                          }
7420                          mandatory true;6647                          mandatory true;
7421                          description6648                          description
7422                            "Set LSP transmission fast flood threshold";6649                            "Set LSP transmission fast flood threshold";
7423                        }6650                        }
7424                      }6651                      }
7425                    }6652                    }
7426                  }6653                  }
7427                }6654                }
7428              }6655              }
n7429              leaf remote-psnp-delay {n
7430                type uint32 {
7431                  range "1..10000" {
7432                    description
7433                      "remote PSNP delay (milliseconds), default is 500";
7434                  }
7435                }
7436                description
7437                  "Set remote PSNP delay";
7438              }
7439              container priority {6656              container priority {
7440                description6657                description
7441                  "Set priority for Designated Router election";6658                  "Set priority for Designated Router election";
7442                leaf priority-value {6659                leaf priority-value {
7443                  type uint32 {6660                  type uint32 {
7444                    range "0..127" {6661                    range "0..127" {
7445                      description6662                      description
7446                        "Priority value";6663                        "Priority value";
7447                    }6664                    }
7448                  }6665                  }
7449                  description6666                  description
7450                    "Set priority for Designated Router election";6667                    "Set priority for Designated Router election";
7451                }6668                }
7452                container levels {6669                container levels {
7453                  description6670                  description
7454                    "Set priority for one level only";6671                    "Set priority for one level only";
7455                  list level {6672                  list level {
7456                    key "level-id";6673                    key "level-id";
7457                    description6674                    description
7458                      "Set priority for one level only";6675                      "Set priority for one level only";
7459                    leaf level-id {6676                    leaf level-id {
7460                      type uint32 {6677                      type uint32 {
7461                        range "1..2" {6678                        range "1..2" {
7462                          description6679                          description
7463                            "Set priority for this level only";6680                            "Set priority for this level only";
7464                        }6681                        }
7465                      }6682                      }
7466                      description6683                      description
7467                        "Set priority for one level only";6684                        "Set priority for one level only";
7468                    }6685                    }
7469                    leaf priority-value {6686                    leaf priority-value {
7470                      type uint32 {6687                      type uint32 {
7471                        range "0..127" {6688                        range "0..127" {
7472                          description6689                          description
7473                            "Priority value";6690                            "Priority value";
7474                        }6691                        }
7475                      }6692                      }
7476                      mandatory true;6693                      mandatory true;
7477                      description6694                      description
7478                        "Set priority for Designated Router election";6695                        "Set priority for Designated Router election";
7479                    }6696                    }
7480                  }6697                  }
7481                }6698                }
7482              }6699              }
7483              container point-to-point {6700              container point-to-point {
7484                presence "Indicates a point-to-point node is configured.";6701                presence "Indicates a point-to-point node is configured.";
7485                description6702                description
7486                  "Treat active LAN interface as point-to-point";6703                  "Treat active LAN interface as point-to-point";
7487              }6704              }
7488              container retransmit-interval {6705              container retransmit-interval {
7489                description6706                description
7490                  "Interval between retransmissions of the same LSP";6707                  "Interval between retransmissions of the same LSP";
7491                leaf retransmit-interval-time {6708                leaf retransmit-interval-time {
7492                  type uint32 {6709                  type uint32 {
7493                    range "0..65535" {6710                    range "0..65535" {
7494                      description6711                      description
7495                        "(seconds)";6712                        "(seconds)";
7496                    }6713                    }
7497                  }6714                  }
7498                  description6715                  description
7499                    "Interval between retransmissions of the same LSP";6716                    "Interval between retransmissions of the same LSP";
7500                }6717                }
7501                container levels {6718                container levels {
7502                  description6719                  description
7503                    "Set retransmit-interval for one level only";6720                    "Set retransmit-interval for one level only";
7504                  list level {6721                  list level {
7505                    key "level-id";6722                    key "level-id";
7506                    description6723                    description
7507                      "Set retransmit-interval for one level only";6724                      "Set retransmit-interval for one level only";
7508                    leaf level-id {6725                    leaf level-id {
7509                      type uint32 {6726                      type uint32 {
7510                        range "1..2" {6727                        range "1..2" {
7511                          description6728                          description
7512                            "Set retransmit-interval for LSPs at this level only";6729                            "Set retransmit-interval for LSPs at this level only";
7513                        }6730                        }
7514                      }6731                      }
7515                      description6732                      description
7516                        "Set retransmit-interval for one level only";6733                        "Set retransmit-interval for one level only";
7517                    }6734                    }
7518                    leaf retransmit-interval-time {6735                    leaf retransmit-interval-time {
7519                      type uint32 {6736                      type uint32 {
7520                        range "0..65535" {6737                        range "0..65535" {
7521                          description6738                          description
7522                            "(seconds)";6739                            "(seconds)";
7523                        }6740                        }
7524                      }6741                      }
7525                      mandatory true;6742                      mandatory true;
7526                      description6743                      description
7527                        "Interval between retransmissions of the same LSP";6744                        "Interval between retransmissions of the same LSP";
7528                    }6745                    }
7529                  }6746                  }
7530                }6747                }
7531              }6748              }
7532              container retransmit-throttle-interval {6749              container retransmit-throttle-interval {
7533                description6750                description
7534                  "Minimum interval betwen retransissions of different LSPs";6751                  "Minimum interval betwen retransissions of different LSPs";
7535                leaf retransmit-throttle-interval-time {6752                leaf retransmit-throttle-interval-time {
7536                  type uint32 {6753                  type uint32 {
7537                    range "0..65535" {6754                    range "0..65535" {
7538                      description6755                      description
7539                        "(milliseconds)";6756                        "(milliseconds)";
7540                    }6757                    }
7541                  }6758                  }
7542                  description6759                  description
7543                    "Minimum interval betwen retransissions of different LSPs";6760                    "Minimum interval betwen retransissions of different LSPs";
7544                }6761                }
7545                container levels {6762                container levels {
7546                  description6763                  description
7547                    "Set retransmit-throttle-interval for one level only";6764                    "Set retransmit-throttle-interval for one level only";
7548                  list level {6765                  list level {
7549                    key "level-id";6766                    key "level-id";
7550                    description6767                    description
7551                      "Set retransmit-throttle-interval for one level only";6768                      "Set retransmit-throttle-interval for one level only";
7552                    leaf level-id {6769                    leaf level-id {
7553                      type uint32 {6770                      type uint32 {
7554                        range "1..2" {6771                        range "1..2" {
7555                          description6772                          description
7556                            "Set retransmit-throttle-interval at this level only";6773                            "Set retransmit-throttle-interval at this level only";
7557                        }6774                        }
7558                      }6775                      }
7559                      description6776                      description
7560                        "Set retransmit-throttle-interval for one level only";6777                        "Set retransmit-throttle-interval for one level only";
7561                    }6778                    }
7562                    leaf retransmit-throttle-interval-time {6779                    leaf retransmit-throttle-interval-time {
7563                      type uint32 {6780                      type uint32 {
7564                        range "0..65535" {6781                        range "0..65535" {
7565                          description6782                          description
7566                            "(milliseconds)";6783                            "(milliseconds)";
7567                        }6784                        }
7568                      }6785                      }
7569                      mandatory true;6786                      mandatory true;
7570                      description6787                      description
7571                        "Minimum interval betwen retransissions of different LSPs";6788                        "Minimum interval betwen retransissions of different LSPs";
7572                    }6789                    }
7573                  }6790                  }
7574                }6791                }
7575              }6792              }
7576              container link-down {6793              container link-down {
7577                description6794                description
7578                  "Configure interface down event parameters";6795                  "Configure interface down event parameters";
7579                container fast-detect {6796                container fast-detect {
7580                  presence "Indicates a fast-detect node is configured.";6797                  presence "Indicates a fast-detect node is configured.";
7581                  description6798                  description
7582                    "Enable high priority detection";6799                    "Enable high priority detection";
7583                }6800                }
7584              }6801              }
7585              container prefix-attributes {6802              container prefix-attributes {
7586                when "../interface-name[starts-with(text(),'Loopback')]" {6803                when "../interface-name[starts-with(text(),'Loopback')]" {
7587                  tailf:dependency "../interface-name";6804                  tailf:dependency "../interface-name";
7588                }6805                }
7589                description6806                description
7590                  "Set Prefix Attributes";6807                  "Set Prefix Attributes";
7591                container n-flag-clear {6808                container n-flag-clear {
7592                  presence "Indicates a n-flag-clear node is configured.";6809                  presence "Indicates a n-flag-clear node is configured.";
7593                  description6810                  description
7594                    "Clear N-flag";6811                    "Clear N-flag";
7595                }6812                }
7596                container levels {6813                container levels {
7597                  description6814                  description
7598                    "Clear N-flag for this level";6815                    "Clear N-flag for this level";
7599                  list level {6816                  list level {
7600                    must "n-flag-clear";6817                    must "n-flag-clear";
7601                    key "level-id";6818                    key "level-id";
7602                    description6819                    description
7603                      "Clear N-flag for this level";6820                      "Clear N-flag for this level";
7604                    leaf level-id {6821                    leaf level-id {
7605                      type uint32 {6822                      type uint32 {
7606                        range "1..2" {6823                        range "1..2" {
7607                          description6824                          description
7608                            "Clear N-flag at this level only";6825                            "Clear N-flag at this level only";
7609                        }6826                        }
7610                      }6827                      }
7611                      description6828                      description
7612                        "Clear N-flag for this level";6829                        "Clear N-flag for this level";
7613                    }6830                    }
7614                    container n-flag-clear {6831                    container n-flag-clear {
7615                      presence "Indicates a n-flag-clear node is configured.";6832                      presence "Indicates a n-flag-clear node is configured.";
7616                      description6833                      description
7617                        "Clear N-flag";6834                        "Clear N-flag";
7618                    }6835                    }
7619                  }6836                  }
7620                }6837                }
7621                container anycast {6838                container anycast {
7622                  presence "Indicates a anycast node is configured.";6839                  presence "Indicates a anycast node is configured.";
7623                  description6840                  description
7624                    "Prefix has anycast semantics";6841                    "Prefix has anycast semantics";
7625                }6842                }
7626                container anycast-levels {6843                container anycast-levels {
7627                  description6844                  description
7628                    "Set anycast for this level";6845                    "Set anycast for this level";
7629                  list level {6846                  list level {
7630                    key "level-id";6847                    key "level-id";
7631                    description6848                    description
7632                      "Set anycast for this level";6849                      "Set anycast for this level";
7633                    leaf level-id {6850                    leaf level-id {
7634                      type uint32 {6851                      type uint32 {
7635                        range "1..2" {6852                        range "1..2" {
7636                          description6853                          description
7637                            "Set anycast at this level only";6854                            "Set anycast at this level only";
7638                        }6855                        }
7639                      }6856                      }
7640                      description6857                      description
7641                        "Set anycast for this level";6858                        "Set anycast for this level";
7642                    }6859                    }
7643                  }6860                  }
7644                }6861                }
7645              }6862              }
7646              container affinity {6863              container affinity {
7647                description6864                description
7648                  "Application specific interface affinities";6865                  "Application specific interface affinities";
7649                container flex-algos {6866                container flex-algos {
7650                  description6867                  description
7651                    "Affinities for Flexible Algorithm application";6868                    "Affinities for Flexible Algorithm application";
7652                  leaf-list affinity-names {6869                  leaf-list affinity-names {
7653                    type string {6870                    type string {
7654                      length "1..32" {6871                      length "1..32" {
7655                        description6872                        description
7656                          "Affinity names";6873                          "Affinity names";
7657                      }6874                      }
7658                    }6875                    }
7659                    max-elements "32";6876                    max-elements "32";
7660                    description6877                    description
7661                      "Affinities for Flexible Algorithm application";6878                      "Affinities for Flexible Algorithm application";
n7662                  }n
7663                  container anomalies {
7664                    description
7665                      "Affinities to advertise when there is a link anomaly";
7666                    leaf-list anomaly {
7667                      type string {
7668                        length "1..32" {
7669                          description
7670                            "Affinity names";
7671                        }
7672                      }
7673                      max-elements "32";
7674                      description
7675                        "Affinities to advertise when there is a link anomaly";
7676                    }
7677                  }6879                  }
7678                }6880                }
7679              }6881              }
7680              container override {6882              container override {
7681                description6883                description
7682                  "Override a configuration setting";6884                  "Override a configuration setting";
7683                container metrics {6885                container metrics {
7684                  description6886                  description
7685                    "Override the configured link metrics";6887                    "Override the configured link metrics";
7686                  container maximum {6888                  container maximum {
7687                    must "not(../high or ../disabled)";6889                    must "not(../high or ../disabled)";
7688                    presence "Indicates a maximum node is configured.";6890                    presence "Indicates a maximum node is configured.";
7689                    description6891                    description
7690                      "Set metric to unreachable value (wide metrics only)";6892                      "Set metric to unreachable value (wide metrics only)";
7691                  }6893                  }
7692                  container high {6894                  container high {
7693                    must "not(../maximum or ../disabled)";6895                    must "not(../maximum or ../disabled)";
7694                    presence "Indicates a high node is configured.";6896                    presence "Indicates a high node is configured.";
7695                    description6897                    description
7696                      "Set metric to highest reachable value";6898                      "Set metric to highest reachable value";
7697                  }6899                  }
7698                  container disabled {6900                  container disabled {
7699                    must "not(../maximum or ../high)";6901                    must "not(../maximum or ../high)";
7700                    presence "Indicates a disabled node is configured.";6902                    presence "Indicates a disabled node is configured.";
7701                    description6903                    description
7702                      "Ignore reverse-metric requests from neighbors";6904                      "Ignore reverse-metric requests from neighbors";
7703                  }6905                  }
7704                }6906                }
7705              }6907              }
7706              container delay {6908              container delay {
7707                description6909                description
7708                  "Delay configuration setting";6910                  "Delay configuration setting";
7709                container normalize {6911                container normalize {
7710                  description6912                  description
7711                    "Delay normalization setting";6913                    "Delay normalization setting";
7712                  leaf interval {6914                  leaf interval {
7713                    type uint32 {6915                    type uint32 {
7714                      range "1..16777215" {6916                      range "1..16777215" {
7715                        description6917                        description
7716                          "Value in microseconds";6918                          "Value in microseconds";
7717                      }6919                      }
7718                    }6920                    }
7719                    description6921                    description
7720                      "Normalization interval";6922                      "Normalization interval";
7721                  }6923                  }
7722                  leaf offset {6924                  leaf offset {
7723                    type uint32 {6925                    type uint32 {
7724                      range "0..16777215" {6926                      range "0..16777215" {
7725                        description6927                        description
7726                          "Value in microseconds";6928                          "Value in microseconds";
7727                      }6929                      }
7728                    }6930                    }
7729                    must "../interval";6931                    must "../interval";
7730                    description6932                    description
7731                      "Normalization offset";6933                      "Normalization offset";
7732                  }6934                  }
7733                }6935                }
7734              }6936              }
7735              container bfd {6937              container bfd {
7736                description6938                description
7737                  "Configure BFD parameters";6939                  "Configure BFD parameters";
7738                container fast-detect {6940                container fast-detect {
7739                  description6941                  description
7740                    "Enable Fast detection";6942                    "Enable Fast detection";
7741                  container ipv4 {6943                  container ipv4 {
7742                    presence "Indicates a ipv4 node is configured.";6944                    presence "Indicates a ipv4 node is configured.";
7743                    description6945                    description
7744                      "Address Family";6946                      "Address Family";
7745                  }6947                  }
7746                  container ipv6 {6948                  container ipv6 {
7747                    presence "Indicates a ipv6 node is configured.";6949                    presence "Indicates a ipv6 node is configured.";
7748                    description6950                    description
7749                      "Address Family";6951                      "Address Family";
7750                  }6952                  }
7751                }6953                }
7752                leaf minimum-interval {6954                leaf minimum-interval {
7753                  type uint32 {6955                  type uint32 {
7754                    range "3..30000" {6956                    range "3..30000" {
7755                      description6957                      description
7756                        "hello interval in milli-seconds";6958                        "hello interval in milli-seconds";
7757                    }6959                    }
7758                  }6960                  }
7759                  description6961                  description
7760                    "Hello interval";6962                    "Hello interval";
7761                }6963                }
7762                leaf multiplier {6964                leaf multiplier {
7763                  type uint32 {6965                  type uint32 {
7764                    range "2..50" {6966                    range "2..50" {
7765                      description6967                      description
7766                        "Detect multiplier";6968                        "Detect multiplier";
7767                    }6969                    }
7768                  }6970                  }
7769                  description6971                  description
7770                    "Detect multiplier";6972                    "Detect multiplier";
7771                }6973                }
7772              }6974              }
7773              container passive {6975              container passive {
7774                must "not(../suppressed or ../shutdown)";6976                must "not(../suppressed or ../shutdown)";
7775                presence "Indicates a passive node is configured.";6977                presence "Indicates a passive node is configured.";
7776                description6978                description
7777                  "Do not establish adjacencies over this interface";6979                  "Do not establish adjacencies over this interface";
7778              }6980              }
7779              container suppressed {6981              container suppressed {
7780                must "not(../passive or ../shutdown)";6982                must "not(../passive or ../shutdown)";
7781                presence "Indicates a suppressed node is configured.";6983                presence "Indicates a suppressed node is configured.";
7782                description6984                description
7783                  "Do not advertise connected prefixes of this interface";6985                  "Do not advertise connected prefixes of this interface";
7784              }6986              }
7785              container shutdown {6987              container shutdown {
7786                must "not(../passive or ../suppressed)";6988                must "not(../passive or ../suppressed)";
7787                presence "Indicates a shutdown node is configured.";6989                presence "Indicates a shutdown node is configured.";
7788                description6990                description
7789                  "Shutdown IS-IS on this interface";6991                  "Shutdown IS-IS on this interface";
7790              }6992              }
7791              container mesh-group {6993              container mesh-group {
7792                description6994                description
7793                  "Set IS-IS mesh group";6995                  "Set IS-IS mesh group";
7794                leaf mesh-group-number {6996                leaf mesh-group-number {
7795                  type uint32 {6997                  type uint32 {
7796                    range "1..4294967295" {6998                    range "1..4294967295" {
7797                      description6999                      description
7798                        "Mesh group number";7000                        "Mesh group number";
7799                    }7001                    }
7800                  }7002                  }
7801                  description7003                  description
7802                    "Mesh group number";7004                    "Mesh group number";
7803                }7005                }
7804                container blocked {7006                container blocked {
7805                  presence "Indicates a blocked node is configured.";7007                  presence "Indicates a blocked node is configured.";
7806                  description7008                  description
7807                    "Block LSPs on this interface";7009                    "Block LSPs on this interface";
7808                }7010                }
7809              }7011              }
7810              container address-families {7012              container address-families {
7811                description7013                description
7812                  "Enter the IS-IS interface address-family configuration submode";7014                  "Enter the IS-IS interface address-family configuration submode";
7813                list address-family {7015                list address-family {
7814                  key "af-name saf-name";7016                  key "af-name saf-name";
7815                  description7017                  description
7816                    "Address family";7018                    "Address family";
7817                  leaf af-name {7019                  leaf af-name {
7818                    type Isis-af-name;7020                    type Isis-af-name;
7819                    description7021                    description
7820                      "Address family name";7022                      "Address family name";
7821                  }7023                  }
7822                  leaf saf-name {7024                  leaf saf-name {
7823                    type Isis-saf-name;7025                    type Isis-saf-name;
7824                    description7026                    description
7825                      "Sub address family name";7027                      "Sub address family name";
7826                  }7028                  }
7827                  container metric {7029                  container metric {
7828                    description7030                    description
7829                      "Configure the metric for interface";7031                      "Configure the metric for interface";
7830                    leaf default-metric {7032                    leaf default-metric {
7831                      type uint32 {7033                      type uint32 {
7832                        range "1..16777214" {7034                        range "1..16777214" {
7833                          description7035                          description
7834                            "Default metric: <1-63> for narrow, <1-16777214> for wide";7036                            "Default metric: <1-63> for narrow, <1-16777214> for wide";
7835                        }7037                        }
7836                      }7038                      }
7837                      must "not(../maximum)";7039                      must "not(../maximum)";
7838                      description7040                      description
7839                        "Default metric";7041                        "Default metric";
7840                    }7042                    }
7841                    container maximum {7043                    container maximum {
7842                      must "not(../default-metric)";7044                      must "not(../default-metric)";
7843                      presence "Indicates a maximum node is configured.";7045                      presence "Indicates a maximum node is configured.";
7844                      description7046                      description
7845                        "Maximum wide metric. All routers will exclude this link from their SPF";7047                        "Maximum wide metric. All routers will exclude this link from their SPF";
7846                    }7048                    }
7847                    container levels {7049                    container levels {
7848                      description7050                      description
7849                        "Set metric for one level only";7051                        "Set metric for one level only";
7850                      list level {7052                      list level {
7851                        key "level-id";7053                        key "level-id";
7852                        description7054                        description
7853                          "Set metric for one level only";7055                          "Set metric for one level only";
7854                        leaf level-id {7056                        leaf level-id {
7855                          type uint32 {7057                          type uint32 {
7856                            range "1..2" {7058                            range "1..2" {
7857                              description7059                              description
7858                                "Set metric at this level only";7060                                "Set metric at this level only";
7859                            }7061                            }
7860                          }7062                          }
7861                          description7063                          description
7862                            "Set metric for one level only";7064                            "Set metric for one level only";
7863                        }7065                        }
7864                        leaf default-metric {7066                        leaf default-metric {
7865                          type uint32 {7067                          type uint32 {
7866                            range "1..16777214" {7068                            range "1..16777214" {
7867                              description7069                              description
7868                                "Default metric: <1-63> for narrow, <1-16777214> for wide";7070                                "Default metric: <1-63> for narrow, <1-16777214> for wide";
7869                            }7071                            }
7870                          }7072                          }
7871                          must "not(../maximum)";7073                          must "not(../maximum)";
7872                          description7074                          description
7873                            "Default metric";7075                            "Default metric";
7874                        }7076                        }
7875                        container maximum {7077                        container maximum {
7876                          must "not(../default-metric)";7078                          must "not(../default-metric)";
7877                          presence "Indicates a maximum node is configured.";7079                          presence "Indicates a maximum node is configured.";
7878                          description7080                          description
7879                            "Maximum wide metric. All routers will exclude this link from their SPF";7081                            "Maximum wide metric. All routers will exclude this link from their SPF";
7880                        }7082                        }
7881                      }7083                      }
7882                    }7084                    }
7883                    container fallback {7085                    container fallback {
7884                      description7086                      description
7885                        "Configure the metric fallback for interface";7087                        "Configure the metric fallback for interface";
7886                      container bandwidth {7088                      container bandwidth {
7887                        description7089                        description
7888                          "fallback based on bandwidth change";7090                          "fallback based on bandwidth change";
7889                        leaf multiplier {7091                        leaf multiplier {
7890                          type uint32 {7092                          type uint32 {
7891                            range "2..100000" {7093                            range "2..100000" {
7892                              description7094                              description
7893                                "Set Multiplier of interface metric";7095                                "Set Multiplier of interface metric";
7894                            }7096                            }
7895                          }7097                          }
7896                          must "../threshold";7098                          must "../threshold";
7897                          description7099                          description
7898                            "fallback based on bandwidth change";7100                            "fallback based on bandwidth change";
7899                        }7101                        }
7900                        leaf threshold {7102                        leaf threshold {
7901                          type uint32 {7103                          type uint32 {
7902                            range "1..100" {7104                            range "1..100" {
7903                              description7105                              description
7904                                "Set metric fallback at this threshold only";7106                                "Set metric fallback at this threshold only";
7905                            }7107                            }
7906                          }7108                          }
7907                          must "../multiplier";7109                          must "../multiplier";
7908                          description7110                          description
7909                            "Threshold interms of percentage of bandwidth";7111                            "Threshold interms of percentage of bandwidth";
7910                        }7112                        }
7911                      }7113                      }
7912                      container anomaly {7114                      container anomaly {
7913                        description7115                        description
7914                          "Increase the link metric when a delay/loss anomaly occurs";7116                          "Increase the link metric when a delay/loss anomaly occurs";
7915                        container te-metric {7117                        container te-metric {
7916                          description7118                          description
7917                            "Modify the TE metric";7119                            "Modify the TE metric";
7918                          container delay {7120                          container delay {
7919                            must7121                            must
7920                              "not(../loss or ../increment or ../multiplier7122                              "not(../loss or ../increment or ../multiplier
7921                               or ../maximum) and7123                               or ../maximum) and
7922                               (increment or multiplier or maximum)";7124                               (increment or multiplier or maximum)";
7923                            presence "Indicates a delay node is configured.";7125                            presence "Indicates a delay node is configured.";
7924                            description7126                            description
7925                              "Only increase the link metric when a delay anomaly occurs";7127                              "Only increase the link metric when a delay anomaly occurs";
7926                            leaf increment {7128                            leaf increment {
7927                              type uint32 {7129                              type uint32 {
7928                                range "1..16777213" {7130                                range "1..16777213" {
7929                                  description7131                                  description
7930                                    "Metric increment";7132                                    "Metric increment";
7931                                }7133                                }
7932                              }7134                              }
7933                              must "not(../multiplier or ../maximum)";7135                              must "not(../multiplier or ../maximum)";
7934                              description7136                              description
7935                                "Increment the link metric by the following amount";7137                                "Increment the link metric by the following amount";
7936                            }7138                            }
7937                            leaf multiplier {7139                            leaf multiplier {
7938                              type uint32 {7140                              type uint32 {
7939                                range "2..100000" {7141                                range "2..100000" {
7940                                  description7142                                  description
7941                                    "Metric multiplier";7143                                    "Metric multiplier";
7942                                }7144                                }
7943                              }7145                              }
7944                              must "not(../increment or ../maximum)";7146                              must "not(../increment or ../maximum)";
7945                              description7147                              description
7946                                "Multiply the link metric by the following amount";7148                                "Multiply the link metric by the following amount";
7947                            }7149                            }
7948                            container maximum {7150                            container maximum {
7949                              must "not(../increment or ../multiplier)";7151                              must "not(../increment or ../multiplier)";
7950                              presence "Indicates a maximum node is configured.";7152                              presence "Indicates a maximum node is configured.";
7951                              description7153                              description
7952                                "Set the maximum wide metric. All routers will exclude this link from their SPF";7154                                "Set the maximum wide metric. All routers will exclude this link from their SPF";
7953                            }7155                            }
7954                          }7156                          }
7955                          container loss {7157                          container loss {
7956                            must7158                            must
7957                              "not(../delay or ../increment or ../multiplier7159                              "not(../delay or ../increment or ../multiplier
7958                               or ../maximum) and7160                               or ../maximum) and
7959                               (increment or multiplier or maximum)";7161                               (increment or multiplier or maximum)";
7960                            presence "Indicates a loss node is configured.";7162                            presence "Indicates a loss node is configured.";
7961                            description7163                            description
7962                              "Only increase the link metric when a loss anomaly occurs";7164                              "Only increase the link metric when a loss anomaly occurs";
7963                            leaf increment {7165                            leaf increment {
7964                              type uint32 {7166                              type uint32 {
7965                                range "1..16777213" {7167                                range "1..16777213" {
7966                                  description7168                                  description
7967                                    "Metric increment";7169                                    "Metric increment";
7968                                }7170                                }
7969                              }7171                              }
7970                              must "not(../multiplier or ../maximum)";7172                              must "not(../multiplier or ../maximum)";
7971                              description7173                              description
7972                                "Increment the link metric by the following amount";7174                                "Increment the link metric by the following amount";
7973                            }7175                            }
7974                            leaf multiplier {7176                            leaf multiplier {
7975                              type uint32 {7177                              type uint32 {
7976                                range "2..100000" {7178                                range "2..100000" {
7977                                  description7179                                  description
7978                                    "Metric multiplier";7180                                    "Metric multiplier";
7979                                }7181                                }
7980                              }7182                              }
7981                              must "not(../increment or ../maximum)";7183                              must "not(../increment or ../maximum)";
7982                              description7184                              description
7983                                "Multiply the link metric by the following amount";7185                                "Multiply the link metric by the following amount";
7984                            }7186                            }
7985                            container maximum {7187                            container maximum {
7986                              must "not(../increment or ../multiplier)";7188                              must "not(../increment or ../multiplier)";
7987                              presence "Indicates a maximum node is configured.";7189                              presence "Indicates a maximum node is configured.";
7988                              description7190                              description
7989                                "Set the maximum wide metric. All routers will exclude this link from their SPF";7191                                "Set the maximum wide metric. All routers will exclude this link from their SPF";
7990                            }7192                            }
7991                          }7193                          }
7992                          leaf increment {7194                          leaf increment {
7993                            type uint32 {7195                            type uint32 {
7994                              range "1..16777213" {7196                              range "1..16777213" {
7995                                description7197                                description
7996                                  "Metric increment";7198                                  "Metric increment";
7997                              }7199                              }
7998                            }7200                            }
7999                            must7201                            must
8000                              "not(../delay or ../loss or ../multiplier or7202                              "not(../delay or ../loss or ../multiplier or
8001                               ../maximum)";7203                               ../maximum)";
8002                            description7204                            description
8003                              "Increment the link metric by the following amount";7205                              "Increment the link metric by the following amount";
8004                          }7206                          }
8005                          leaf multiplier {7207                          leaf multiplier {
8006                            type uint32 {7208                            type uint32 {
8007                              range "2..100000" {7209                              range "2..100000" {
8008                                description7210                                description
8009                                  "Metric multiplier";7211                                  "Metric multiplier";
8010                              }7212                              }
8011                            }7213                            }
8012                            must7214                            must
8013                              "not(../delay or ../loss or ../increment or7215                              "not(../delay or ../loss or ../increment or
8014                               ../maximum)";7216                               ../maximum)";
8015                            description7217                            description
8016                              "Multiply the link metric by the following amount";7218                              "Multiply the link metric by the following amount";
8017                          }7219                          }
8018                          container maximum {7220                          container maximum {
8019                            must7221                            must
8020                              "not(../delay or ../loss or ../increment or7222                              "not(../delay or ../loss or ../increment or
8021                               ../multiplier)";7223                               ../multiplier)";
8022                            presence "Indicates a maximum node is configured.";7224                            presence "Indicates a maximum node is configured.";
8023                            description7225                            description
8024                              "Set the maximum wide metric. All routers will exclude this link from their SPF";7226                              "Set the maximum wide metric. All routers will exclude this link from their SPF";
8025                          }7227                          }
8026                        }7228                        }
8027                        container te-metric-levels {7229                        container te-metric-levels {
8028                          description7230                          description
8029                            "Increase metric for one level only";7231                            "Increase metric for one level only";
8030                          list level {7232                          list level {
8031                            must7233                            must
8032                              "delay or loss or increment or multiplier7234                              "delay or loss or increment or multiplier
8033                               or maximum";7235                               or maximum";
8034                            key "level-id";7236                            key "level-id";
8035                            description7237                            description
8036                              "Set metric for one level only";7238                              "Set metric for one level only";
8037                            leaf level-id {7239                            leaf level-id {
8038                              type uint32 {7240                              type uint32 {
8039                                range "1..2" {7241                                range "1..2" {
8040                                  description7242                                  description
8041                                    "Set metric at this level only";7243                                    "Set metric at this level only";
8042                                }7244                                }
8043                              }7245                              }
8044                              description7246                              description
8045                                "Set metric for one level only";7247                                "Set metric for one level only";
8046                            }7248                            }
8047                            container delay {7249                            container delay {
8048                              must7250                              must
8049                                "not(../loss or ../increment or ../multiplier7251                                "not(../loss or ../increment or ../multiplier
8050                                 or ../maximum) and7252                                 or ../maximum) and
8051                                 (increment or multiplier or maximum)";7253                                 (increment or multiplier or maximum)";
8052                              presence "Indicates a delay node is configured.";7254                              presence "Indicates a delay node is configured.";
8053                              description7255                              description
8054                                "Only increase the link metric when a delay anomaly occurs";7256                                "Only increase the link metric when a delay anomaly occurs";
8055                              leaf increment {7257                              leaf increment {
8056                                type uint32 {7258                                type uint32 {
8057                                  range "1..16777213" {7259                                  range "1..16777213" {
8058                                    description7260                                    description
8059                                      "Metric increment";7261                                      "Metric increment";
8060                                  }7262                                  }
8061                                }7263                                }
8062                                must "not(../multiplier or ../maximum)";7264                                must "not(../multiplier or ../maximum)";
8063                                description7265                                description
8064                                  "Increment the link metric by the following amount";7266                                  "Increment the link metric by the following amount";
8065                              }7267                              }
8066                              leaf multiplier {7268                              leaf multiplier {
8067                                type uint32 {7269                                type uint32 {
8068                                  range "2..100000" {7270                                  range "2..100000" {
8069                                    description7271                                    description
8070                                      "Metric multiplier";7272                                      "Metric multiplier";
8071                                  }7273                                  }
8072                                }7274                                }
8073                                must "not(../increment or ../maximum)";7275                                must "not(../increment or ../maximum)";
8074                                description7276                                description
8075                                  "Multiply the link metric by the following amount";7277                                  "Multiply the link metric by the following amount";
8076                              }7278                              }
8077                              container maximum {7279                              container maximum {
8078                                must "not(../increment or ../multiplier)";7280                                must "not(../increment or ../multiplier)";
8079                                presence "Indicates a maximum node is configured.";7281                                presence "Indicates a maximum node is configured.";
8080                                description7282                                description
8081                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";7283                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";
8082                              }7284                              }
8083                            }7285                            }
8084                            container loss {7286                            container loss {
8085                              must7287                              must
8086                                "not(../delay or ../increment or7288                                "not(../delay or ../increment or
8087                                 ../multiplier or ../maximum) and7289                                 ../multiplier or ../maximum) and
8088                                 (increment or multiplier or maximum)";7290                                 (increment or multiplier or maximum)";
8089                              presence "Indicates a loss node is configured.";7291                              presence "Indicates a loss node is configured.";
8090                              description7292                              description
8091                                "Only increase the link metric when a loss anomaly occurs";7293                                "Only increase the link metric when a loss anomaly occurs";
8092                              leaf increment {7294                              leaf increment {
8093                                type uint32 {7295                                type uint32 {
8094                                  range "1..16777213" {7296                                  range "1..16777213" {
8095                                    description7297                                    description
8096                                      "Metric increment";7298                                      "Metric increment";
8097                                  }7299                                  }
8098                                }7300                                }
8099                                must "not(../multiplier or ../maximum)";7301                                must "not(../multiplier or ../maximum)";
8100                                description7302                                description
8101                                  "Increment the link metric by the following amount";7303                                  "Increment the link metric by the following amount";
8102                              }7304                              }
8103                              leaf multiplier {7305                              leaf multiplier {
8104                                type uint32 {7306                                type uint32 {
8105                                  range "2..100000" {7307                                  range "2..100000" {
8106                                    description7308                                    description
8107                                      "Metric multiplier";7309                                      "Metric multiplier";
8108                                  }7310                                  }
8109                                }7311                                }
8110                                must "not(../increment or ../maximum)";7312                                must "not(../increment or ../maximum)";
8111                                description7313                                description
8112                                  "Multiply the link metric by the following amount";7314                                  "Multiply the link metric by the following amount";
8113                              }7315                              }
8114                              container maximum {7316                              container maximum {
8115                                must "not(../increment or ../multiplier)";7317                                must "not(../increment or ../multiplier)";
8116                                presence "Indicates a maximum node is configured.";7318                                presence "Indicates a maximum node is configured.";
8117                                description7319                                description
8118                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";7320                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";
8119                              }7321                              }
8120                            }7322                            }
8121                            leaf increment {7323                            leaf increment {
8122                              type uint32 {7324                              type uint32 {
8123                                range "1..16777213" {7325                                range "1..16777213" {
8124                                  description7326                                  description
8125                                    "Metric increment";7327                                    "Metric increment";
8126                                }7328                                }
8127                              }7329                              }
8128                              must7330                              must
8129                                "not(../delay or ../loss or ../multiplier7331                                "not(../delay or ../loss or ../multiplier
8130                                 or ../maximum)";7332                                 or ../maximum)";
8131                              description7333                              description
8132                                "Increment the link metric by the following amount";7334                                "Increment the link metric by the following amount";
8133                            }7335                            }
8134                            leaf multiplier {7336                            leaf multiplier {
8135                              type uint32 {7337                              type uint32 {
8136                                range "2..100000" {7338                                range "2..100000" {
8137                                  description7339                                  description
8138                                    "Metric multiplier";7340                                    "Metric multiplier";
8139                                }7341                                }
8140                              }7342                              }
8141                              must7343                              must
8142                                "not(../delay or ../loss or ../increment7344                                "not(../delay or ../loss or ../increment
8143                                 or ../maximum)";7345                                 or ../maximum)";
8144                              description7346                              description
8145                                "Multiply the link metric by the following amount";7347                                "Multiply the link metric by the following amount";
8146                            }7348                            }
8147                            container maximum {7349                            container maximum {
8148                              must7350                              must
8149                                "not(../delay or ../loss or ../increment7351                                "not(../delay or ../loss or ../increment
8150                                 or ../multiplier)";7352                                 or ../multiplier)";
8151                              presence "Indicates a maximum node is configured.";7353                              presence "Indicates a maximum node is configured.";
8152                              description7354                              description
8153                                "Set the maximum wide metric. All routers will exclude this link from their SPF";7355                                "Set the maximum wide metric. All routers will exclude this link from their SPF";
8154                            }7356                            }
8155                          }7357                          }
8156                        }7358                        }
8157                        container delay {7359                        container delay {
8158                          must7360                          must
8159                            "not(../loss or ../increment or ../multiplier7361                            "not(../loss or ../increment or ../multiplier
8160                             or ../maximum) and7362                             or ../maximum) and
8161                             (increment or multiplier or maximum)";7363                             (increment or multiplier or maximum)";
8162                          presence "Indicates a delay node is configured.";7364                          presence "Indicates a delay node is configured.";
8163                          description7365                          description
8164                            "Only increase the link metric when a delay anomaly occurs";7366                            "Only increase the link metric when a delay anomaly occurs";
8165                          leaf increment {7367                          leaf increment {
8166                            type uint32 {7368                            type uint32 {
8167                              range "1..16777213" {7369                              range "1..16777213" {
8168                                description7370                                description
8169                                  "Metric increment";7371                                  "Metric increment";
8170                              }7372                              }
8171                            }7373                            }
8172                            must "not(../multiplier or ../maximum)";7374                            must "not(../multiplier or ../maximum)";
8173                            description7375                            description
8174                              "Increment the link metric by the following amount";7376                              "Increment the link metric by the following amount";
8175                          }7377                          }
8176                          leaf multiplier {7378                          leaf multiplier {
8177                            type uint32 {7379                            type uint32 {
8178                              range "2..100000" {7380                              range "2..100000" {
8179                                description7381                                description
8180                                  "Metric multiplier";7382                                  "Metric multiplier";
8181                              }7383                              }
8182                            }7384                            }
8183                            must "not(../increment or ../maximum)";7385                            must "not(../increment or ../maximum)";
8184                            description7386                            description
8185                              "Multiply the link metric by the following amount";7387                              "Multiply the link metric by the following amount";
8186                          }7388                          }
8187                          container maximum {7389                          container maximum {
8188                            must "not(../increment or ../multiplier)";7390                            must "not(../increment or ../multiplier)";
8189                            presence "Indicates a maximum node is configured.";7391                            presence "Indicates a maximum node is configured.";
8190                            description7392                            description
8191                              "Set the maximum wide metric. All routers will exclude this link from their SPF";7393                              "Set the maximum wide metric. All routers will exclude this link from their SPF";
8192                          }7394                          }
8193                        }7395                        }
8194                        container loss {7396                        container loss {
8195                          must7397                          must
8196                            "not(../loss or ../increment or ../multiplier7398                            "not(../loss or ../increment or ../multiplier
8197                             or ../maximum) and7399                             or ../maximum) and
8198                             (increment or multiplier or maximum)";7400                             (increment or multiplier or maximum)";
8199                          presence "Indicates a loss node is configured.";7401                          presence "Indicates a loss node is configured.";
8200                          description7402                          description
8201                            "Only increase the link metric when a loss anomaly occurs";7403                            "Only increase the link metric when a loss anomaly occurs";
8202                          leaf increment {7404                          leaf increment {
8203                            type uint32 {7405                            type uint32 {
8204                              range "1..16777213" {7406                              range "1..16777213" {
8205                                description7407                                description
8206                                  "Metric increment";7408                                  "Metric increment";
8207                              }7409                              }
8208                            }7410                            }
8209                            must "not(../multiplier or ../maximum)";7411                            must "not(../multiplier or ../maximum)";
8210                            description7412                            description
8211                              "Increment the link metric by the following amount";7413                              "Increment the link metric by the following amount";
8212                          }7414                          }
8213                          leaf multiplier {7415                          leaf multiplier {
8214                            type uint32 {7416                            type uint32 {
8215                              range "2..100000" {7417                              range "2..100000" {
8216                                description7418                                description
8217                                  "Metric multiplier";7419                                  "Metric multiplier";
8218                              }7420                              }
8219                            }7421                            }
8220                            must "not(../increment or ../maximum)";7422                            must "not(../increment or ../maximum)";
8221                            description7423                            description
8222                              "Multiply the link metric by the following amount";7424                              "Multiply the link metric by the following amount";
8223                          }7425                          }
8224                          container maximum {7426                          container maximum {
8225                            must "not(../increment or ../multiplier)";7427                            must "not(../increment or ../multiplier)";
8226                            presence "Indicates a maximum node is configured.";7428                            presence "Indicates a maximum node is configured.";
8227                            description7429                            description
8228                              "Set the maximum wide metric. All routers will exclude this link from their SPF";7430                              "Set the maximum wide metric. All routers will exclude this link from their SPF";
8229                          }7431                          }
8230                        }7432                        }
8231                        leaf increment {7433                        leaf increment {
8232                          type uint32 {7434                          type uint32 {
8233                            range "1..16777213" {7435                            range "1..16777213" {
8234                              description7436                              description
8235                                "Metric increment";7437                                "Metric increment";
8236                            }7438                            }
8237                          }7439                          }
8238                          must7440                          must
8239                            "not(../delay or ../loss or ../multiplier7441                            "not(../delay or ../loss or ../multiplier
8240                             or ../maximum)";7442                             or ../maximum)";
8241                          description7443                          description
8242                            "Increment the link metric by the following amount";7444                            "Increment the link metric by the following amount";
8243                        }7445                        }
8244                        leaf multiplier {7446                        leaf multiplier {
8245                          type uint32 {7447                          type uint32 {
8246                            range "2..100000" {7448                            range "2..100000" {
8247                              description7449                              description
8248                                "Metric multiplier";7450                                "Metric multiplier";
8249                            }7451                            }
8250                          }7452                          }
8251                          must7453                          must
8252                            "not(../delay or ../loss or ../increment7454                            "not(../delay or ../loss or ../increment
8253                             or ../maximum)";7455                             or ../maximum)";
8254                          description7456                          description
8255                            "Multiply the link metric by the following amount";7457                            "Multiply the link metric by the following amount";
8256                        }7458                        }
8257                        container maximum {7459                        container maximum {
8258                          must7460                          must
8259                            "not(../delay or ../loss or ../increment7461                            "not(../delay or ../loss or ../increment
8260                             or ../multiplier)";7462                             or ../multiplier)";
8261                          presence "Indicates a maximum node is configured.";7463                          presence "Indicates a maximum node is configured.";
8262                          description7464                          description
8263                            "Set the maximum wide metric. All routers will exclude this link from their SPF";7465                            "Set the maximum wide metric. All routers will exclude this link from their SPF";
8264                        }7466                        }
8265                        container levels {7467                        container levels {
8266                          description7468                          description
8267                            "Increase metric for one level only";7469                            "Increase metric for one level only";
8268                          list level {7470                          list level {
8269                            must7471                            must
8270                              "delay or loss or increment or multiplier7472                              "delay or loss or increment or multiplier
8271                               or maximum";7473                               or maximum";
8272                            key "level-id";7474                            key "level-id";
8273                            description7475                            description
8274                              "Set metric for one level only";7476                              "Set metric for one level only";
8275                            leaf level-id {7477                            leaf level-id {
8276                              type uint32 {7478                              type uint32 {
8277                                range "1..2" {7479                                range "1..2" {
8278                                  description7480                                  description
8279                                    "Set metric at this level only";7481                                    "Set metric at this level only";
8280                                }7482                                }
8281                              }7483                              }
8282                              description7484                              description
8283                                "Set metric for one level only";7485                                "Set metric for one level only";
8284                            }7486                            }
8285                            container delay {7487                            container delay {
8286                              must7488                              must
8287                                "not(../loss or ../increment or7489                                "not(../loss or ../increment or
8288                                 ../multiplier or ../maximum) and7490                                 ../multiplier or ../maximum) and
8289                                 (increment or multiplier or maximum)";7491                                 (increment or multiplier or maximum)";
8290                              presence "Indicates a delay node is configured.";7492                              presence "Indicates a delay node is configured.";
8291                              description7493                              description
8292                                "Only increase the link metric when a delay anomaly occurs";7494                                "Only increase the link metric when a delay anomaly occurs";
8293                              leaf increment {7495                              leaf increment {
8294                                type uint32 {7496                                type uint32 {
8295                                  range "1..16777213" {7497                                  range "1..16777213" {
8296                                    description7498                                    description
8297                                      "Metric increment";7499                                      "Metric increment";
8298                                  }7500                                  }
8299                                }7501                                }
8300                                must "not(../multiplier or ../maximum)";7502                                must "not(../multiplier or ../maximum)";
8301                                description7503                                description
8302                                  "Increment the link metric by the following amount";7504                                  "Increment the link metric by the following amount";
8303                              }7505                              }
8304                              leaf multiplier {7506                              leaf multiplier {
8305                                type uint32 {7507                                type uint32 {
8306                                  range "2..100000" {7508                                  range "2..100000" {
8307                                    description7509                                    description
8308                                      "Metric multiplier";7510                                      "Metric multiplier";
8309                                  }7511                                  }
8310                                }7512                                }
8311                                must "not(../increment or ../maximum)";7513                                must "not(../increment or ../maximum)";
8312                                description7514                                description
8313                                  "Multiply the link metric by the following amount";7515                                  "Multiply the link metric by the following amount";
8314                              }7516                              }
8315                              container maximum {7517                              container maximum {
8316                                must "not(../increment or ../multiplier)";7518                                must "not(../increment or ../multiplier)";
8317                                presence "Indicates a maximum node is configured.";7519                                presence "Indicates a maximum node is configured.";
8318                                description7520                                description
8319                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";7521                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";
8320                              }7522                              }
8321                            }7523                            }
8322                            container loss {7524                            container loss {
8323                              must7525                              must
8324                                "not(../delay or ../increment or7526                                "not(../delay or ../increment or
8325                                 ../multiplier or ../maximum) and7527                                 ../multiplier or ../maximum) and
8326                                 (increment or multiplier or maximum)";7528                                 (increment or multiplier or maximum)";
8327                              presence "Indicates a loss node is configured.";7529                              presence "Indicates a loss node is configured.";
8328                              description7530                              description
8329                                "Only increase the link metric when a loss anomaly occurs";7531                                "Only increase the link metric when a loss anomaly occurs";
8330                              leaf increment {7532                              leaf increment {
8331                                type uint32 {7533                                type uint32 {
8332                                  range "1..16777213" {7534                                  range "1..16777213" {
8333                                    description7535                                    description
8334                                      "Metric increment";7536                                      "Metric increment";
8335                                  }7537                                  }
8336                                }7538                                }
8337                                must "not(../multiplier or ../maximum)";7539                                must "not(../multiplier or ../maximum)";
8338                                description7540                                description
8339                                  "Increment the link metric by the following amount";7541                                  "Increment the link metric by the following amount";
8340                              }7542                              }
8341                              leaf multiplier {7543                              leaf multiplier {
8342                                type uint32 {7544                                type uint32 {
8343                                  range "2..100000" {7545                                  range "2..100000" {
8344                                    description7546                                    description
8345                                      "Metric multiplier";7547                                      "Metric multiplier";
8346                                  }7548                                  }
8347                                }7549                                }
8348                                must "not(../increment or ../maximum)";7550                                must "not(../increment or ../maximum)";
8349                                description7551                                description
8350                                  "Multiply the link metric by the following amount";7552                                  "Multiply the link metric by the following amount";
8351                              }7553                              }
8352                              container maximum {7554                              container maximum {
8353                                must "not(../increment or ../multiplier)";7555                                must "not(../increment or ../multiplier)";
8354                                presence "Indicates a maximum node is configured.";7556                                presence "Indicates a maximum node is configured.";
8355                                description7557                                description
8356                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";7558                                  "Set the maximum wide metric. All routers will exclude this link from their SPF";
8357                              }7559                              }
8358                            }7560                            }
8359                            leaf increment {7561                            leaf increment {
8360                              type uint32 {7562                              type uint32 {
8361                                range "1..16777213" {7563                                range "1..16777213" {
8362                                  description7564                                  description
8363                                    "Metric increment";7565                                    "Metric increment";
8364                                }7566                                }
8365                              }7567                              }
8366                              must7568                              must
8367                                "not(../delay or ../loss or ../multiplier7569                                "not(../delay or ../loss or ../multiplier
8368                                 or ../maximum)";7570                                 or ../maximum)";
8369                              description7571                              description
8370                                "Increment the link metric by the following amount";7572                                "Increment the link metric by the following amount";
8371                            }7573                            }
8372                            leaf multiplier {7574                            leaf multiplier {
8373                              type uint32 {7575                              type uint32 {
8374                                range "2..100000" {7576                                range "2..100000" {
8375                                  description7577                                  description
8376                                    "Metric multiplier";7578                                    "Metric multiplier";
8377                                }7579                                }
8378                              }7580                              }
8379                              must7581                              must
8380                                "not(../delay or ../loss or ../increment7582                                "not(../delay or ../loss or ../increment
8381                                 or ../maximum)";7583                                 or ../maximum)";
8382                              description7584                              description
8383                                "Multiply the link metric by the following amount";7585                                "Multiply the link metric by the following amount";
8384                            }7586                            }
8385                            container maximum {7587                            container maximum {
8386                              must7588                              must
8387                                "not(../delay or ../loss or ../increment7589                                "not(../delay or ../loss or ../increment
8388                                 or ../multiplier)";7590                                 or ../multiplier)";
8389                              presence "Indicates a maximum node is configured.";7591                              presence "Indicates a maximum node is configured.";
8390                              description7592                              description
8391                                "Set the maximum wide metric. All routers will exclude this link from their SPF";7593                                "Set the maximum wide metric. All routers will exclude this link from their SPF";
8392                            }7594                            }
8393                          }7595                          }
8394                        }7596                        }
8395                      }7597                      }
8396                    }7598                    }
8397                  }7599                  }
8398                  container te-metric {7600                  container te-metric {
8399                    description7601                    description
8400                      "Configure an application specific TE metric for the interface";7602                      "Configure an application specific TE metric for the interface";
8401                    leaf flex-algo {7603                    leaf flex-algo {
8402                      type uint32 {7604                      type uint32 {
8403                        range "1..16777214" {7605                        range "1..16777214" {
8404                          description7606                          description
8405                            "Flex-algo traffic-engineering metric";7607                            "Flex-algo traffic-engineering metric";
8406                        }7608                        }
8407                      }7609                      }
8408                      description7610                      description
8409                        "Configure a Flex-algo TE metric for the interface";7611                        "Configure a Flex-algo TE metric for the interface";
8410                    }7612                    }
8411                  }7613                  }
8412                  container te-metric-levels {7614                  container te-metric-levels {
8413                    description7615                    description
8414                      "Set metric for one level only";7616                      "Set metric for one level only";
8415                    list level {7617                    list level {
8416                      key "level-id";7618                      key "level-id";
8417                      description7619                      description
8418                        "Set metric for one level only";7620                        "Set metric for one level only";
8419                      leaf level-id {7621                      leaf level-id {
8420                        type uint32 {7622                        type uint32 {
8421                          range "1..2" {7623                          range "1..2" {
8422                            description7624                            description
8423                              "Set metric at this level only";7625                              "Set metric at this level only";
8424                          }7626                          }
8425                        }7627                        }
8426                        description7628                        description
8427                          "Set metric for one level only";7629                          "Set metric for one level only";
8428                      }7630                      }
8429                      leaf flex-algo {7631                      leaf flex-algo {
8430                        type uint32 {7632                        type uint32 {
8431                          range "1..16777214" {7633                          range "1..16777214" {
8432                            description7634                            description
8433                              "Flex-algo traffic-engineering metric";7635                              "Flex-algo traffic-engineering metric";
8434                          }7636                          }
8435                        }7637                        }
8436                        mandatory true;7638                        mandatory true;
8437                        description7639                        description
8438                          "Configure a Flex-algo TE metric for the interface";7640                          "Configure a Flex-algo TE metric for the interface";
8439                      }7641                      }
8440                    }7642                    }
8441                  }7643                  }
n8442                  container generic-metric {n
8443                    description
8444                      "Configure an application specific generic metric for the interface";
8445                    list metric-type {
8446                      key "metric-type";
8447                      description
8448                        "Set metric for one metric-type";
8449                      leaf metric-type {
8450                        type uint32 {
8451                          range "128..255" {
8452                            description
8453                              "Set Genric-metric Type";
8454                          }
8455                        }
8456                        description
8457                          "Set metric for one level only";
8458                      }
8459                      leaf flex-algo {
8460                        type uint32 {
8461                          range "1..16777214" {
8462                            description
8463                              "Flex-algo traffic-engineering metric";
8464                          }
8465                        }
8466                        description
8467                          "Configure a Flex-algo Generic metric for the interface";
8468                      }
8469                    }
8470                  }
8471                  container generic-metric-levels {
8472                    description
8473                      "Configure an application specific generic metric for the interface";
8474                    list level-metric-type {
8475                      key "level-id metric-type";
8476                      description
8477                        "Set metric for one metric-type";
8478                      leaf level-id {
8479                        type uint32 {
8480                          range "1..2" {
8481                            description
8482                              "Set metric at this level only";
8483                          }
8484                        }
8485                        description
8486                          "Set metric for one level only";
8487                      }
8488                      leaf metric-type {
8489                        type uint32 {
8490                          range "128..255" {
8491                            description
8492                              "Set Genric-metric Type";
8493                          }
8494                        }
8495                        description
8496                          "Set metric for one level only";
8497                      }
8498                      leaf flex-algo {
8499                        type uint32 {
8500                          range "1..16777214" {
8501                            description
8502                              "Flex-algo traffic-engineering metric";
8503                          }
8504                        }
8505                        description
8506                          "Configure a Flex-algo Generic metric for the interface";
8507                      }
8508                    }
8509                  }
8510                  container mpls {7644                  container mpls {
8511                    when "../saf-name = 'unicast'";7645                    when "../saf-name = 'unicast'";
8512                    description7646                    description
8513                      "Configure MPLS routing protocol parameters";7647                      "Configure MPLS routing protocol parameters";
8514                    container ldp {7648                    container ldp {
8515                      description7649                      description
8516                        "Configure LDP parameters";7650                        "Configure LDP parameters";
8517                      container sync {7651                      container sync {
8518                        presence "Indicates a sync node is configured.";7652                        presence "Indicates a sync node is configured.";
8519                        description7653                        description
8520                          "Configure LDP ISIS synchronization";7654                          "Configure LDP ISIS synchronization";
8521                        leaf level {7655                        leaf level {
8522                          type uint32 {7656                          type uint32 {
8523                            range "1..2" {7657                            range "1..2" {
8524                              description7658                              description
8525                                "Set LDP synchronization at this level only";7659                                "Set LDP synchronization at this level only";
8526                            }7660                            }
8527                          }7661                          }
8528                          description7662                          description
8529                            "Set LDP synchronization for one level only";7663                            "Set LDP synchronization for one level only";
8530                        }7664                        }
8531                      }7665                      }
8532                    }7666                    }
8533                  }7667                  }
8534                  container tag {7668                  container tag {
8535                    description7669                    description
8536                      "Set interface tag";7670                      "Set interface tag";
8537                    leaf interface-tag {7671                    leaf interface-tag {
8538                      type uint32 {7672                      type uint32 {
8539                        range "1..4294967295" {7673                        range "1..4294967295" {
8540                          description7674                          description
8541                            "Interface tag";7675                            "Interface tag";
8542                        }7676                        }
8543                      }7677                      }
8544                      description7678                      description
8545                        "Set interface tag";7679                        "Set interface tag";
8546                    }7680                    }
8547                    container levels {7681                    container levels {
8548                      description7682                      description
8549                        "Set the tag only at supplied level";7683                        "Set the tag only at supplied level";
8550                      list level {7684                      list level {
8551                        key "level-id";7685                        key "level-id";
8552                        description7686                        description
8553                          "Set the tag only at supplied level";7687                          "Set the tag only at supplied level";
8554                        leaf level-id {7688                        leaf level-id {
8555                          type uint32 {7689                          type uint32 {
8556                            range "1..2" {7690                            range "1..2" {
8557                              description7691                              description
8558                                "Set the tag only at this level";7692                                "Set the tag only at this level";
8559                            }7693                            }
8560                          }7694                          }
8561                          description7695                          description
8562                            "Set the tag only at supplied level";7696                            "Set the tag only at supplied level";
8563                        }7697                        }
8564                        leaf interface-tag {7698                        leaf interface-tag {
8565                          type uint32 {7699                          type uint32 {
8566                            range "1..4294967295" {7700                            range "1..4294967295" {
8567                              description7701                              description
8568                                "Interface tag";7702                                "Interface tag";
8569                            }7703                            }
8570                          }7704                          }
8571                          mandatory true;7705                          mandatory true;
8572                          description7706                          description
8573                            "Set interface tag";7707                            "Set interface tag";
8574                        }7708                        }
8575                      }7709                      }
8576                    }7710                    }
8577                  }7711                  }
8578                  container prefix-sid {7712                  container prefix-sid {
8579                    when "../saf-name = 'unicast' and ../../../interface-name[starts-with(text(),'Loopback')]" {7713                    when "../saf-name = 'unicast' and ../../../interface-name[starts-with(text(),'Loopback')]" {
8580                      tailf:dependency "../../../interface-name";7714                      tailf:dependency "../../../interface-name";
8581                    }7715                    }
n8582                    descriptionn
8583                      "Specify the Prefix Segment ID";
8584                    container sid {7716                    container sid {
8585                      must "index or absolute";7717                      must "index or absolute";
8586                      presence "Indicates a sid node is configured.";7718                      presence "Indicates a sid node is configured.";
8587                      description7719                      description
8588                        "Specify the Prefix Segment ID";7720                        "Specify the Prefix Segment ID";
8589                      container index {7721                      container index {
8590                        must "not(../absolute)";7722                        must "not(../absolute)";
8591                        presence "Indicates a index node is configured.";7723                        presence "Indicates a index node is configured.";
8592                        description7724                        description
8593                          "Specify the index of Prefix Segement ID";7725                          "Specify the index of Prefix Segement ID";
8594                        leaf sid-index {7726                        leaf sid-index {
8595                          type uint32 {7727                          type uint32 {
8596                            range "0..1048575" {7728                            range "0..1048575" {
8597                              description7729                              description
8598                                "The Prefix Segment ID index";7730                                "The Prefix Segment ID index";
8599                            }7731                            }
8600                          }7732                          }
8601                          mandatory true;7733                          mandatory true;
8602                          description7734                          description
8603                            "Specify the index of Prefix Segement ID";7735                            "Specify the index of Prefix Segement ID";
8604                        }7736                        }
8605                      }7737                      }
8606                      container absolute {7738                      container absolute {
8607                        must "not(../index)";7739                        must "not(../index)";
8608                        presence "Indicates a absolute node is configured.";7740                        presence "Indicates a absolute node is configured.";
8609                        description7741                        description
8610                          "Specify the absolute value of Prefix Segement ID";7742                          "Specify the absolute value of Prefix Segement ID";
8611                        leaf sid-value {7743                        leaf sid-value {
8612                          type uint32 {7744                          type uint32 {
8613                            range "16000..1048575" {7745                            range "16000..1048575" {
8614                              description7746                              description
8615                                "The Prefix Segment ID value";7747                                "The Prefix Segment ID value";
8616                            }7748                            }
8617                          }7749                          }
8618                          mandatory true;7750                          mandatory true;
8619                          description7751                          description
8620                            "Specify the absolute value of Prefix Segement ID";7752                            "Specify the absolute value of Prefix Segement ID";
8621                        }7753                        }
8622                      }7754                      }
n8623                      container php-disable {n
8624                        presence "Indicates a php-disable node is configured.";
8625                        description
8626                          "Disable Penultimate Hop Popping";
8627                      }
8628                      container explicit-null {7755                      container explicit-null {
8629                        presence "Indicates a explicit-null node is configured.";7756                        presence "Indicates a explicit-null node is configured.";
8630                        description7757                        description
8631                          "Upstream neighbor must replace prefix-sid with explicit null label";7758                          "Upstream neighbor must replace prefix-sid with explicit null label";
8632                      }7759                      }
8633                      container n-flag-clear {7760                      container n-flag-clear {
8634                        presence "Indicates a n-flag-clear node is configured.";7761                        presence "Indicates a n-flag-clear node is configured.";
8635                        description7762                        description
8636                          "Clear N-flag for the prefix-SID ";7763                          "Clear N-flag for the prefix-SID ";
8637                      }7764                      }
8638                    }7765                    }
8639                    container strict-spf {7766                    container strict-spf {
8640                      must "index or absolute";7767                      must "index or absolute";
8641                      presence "Indicates a strict-spf node is configured.";7768                      presence "Indicates a strict-spf node is configured.";
8642                      description7769                      description
8643                        "Strict-SPF Prefix SID Configuration";7770                        "Strict-SPF Prefix SID Configuration";
8644                      container index {7771                      container index {
8645                        must "not(../absolute)";7772                        must "not(../absolute)";
8646                        presence "Indicates a index node is configured.";7773                        presence "Indicates a index node is configured.";
8647                        description7774                        description
8648                          "Specify the index of Prefix Segement ID";7775                          "Specify the index of Prefix Segement ID";
8649                        leaf sid-index {7776                        leaf sid-index {
8650                          type uint32 {7777                          type uint32 {
8651                            range "0..1048575" {7778                            range "0..1048575" {
8652                              description7779                              description
8653                                "The Prefix Segment ID index";7780                                "The Prefix Segment ID index";
8654                            }7781                            }
8655                          }7782                          }
8656                          mandatory true;7783                          mandatory true;
8657                          description7784                          description
8658                            "Specify the index of Prefix Segement ID";7785                            "Specify the index of Prefix Segement ID";
8659                        }7786                        }
8660                      }7787                      }
8661                      container absolute {7788                      container absolute {
8662                        must "not(../index)";7789                        must "not(../index)";
8663                        presence "Indicates a absolute node is configured.";7790                        presence "Indicates a absolute node is configured.";
8664                        description7791                        description
8665                          "Specify the absolute value of Prefix Segement ID";7792                          "Specify the absolute value of Prefix Segement ID";
8666                        leaf sid-value {7793                        leaf sid-value {
8667                          type uint32 {7794                          type uint32 {
8668                            range "16000..1048575" {7795                            range "16000..1048575" {
8669                              description7796                              description
8670                                "The Prefix Segment ID value";7797                                "The Prefix Segment ID value";
8671                            }7798                            }
8672                          }7799                          }
8673                          mandatory true;7800                          mandatory true;
8674                          description7801                          description
8675                            "Specify the absolute value of Prefix Segement ID";7802                            "Specify the absolute value of Prefix Segement ID";
8676                        }7803                        }
n8677                      }n
8678                      container php-disable {
8679                        presence "Indicates a php-disable node is configured.";
8680                        description
8681                          "Disable Penultimate Hop Popping";
8682                      }7804                      }
8683                      container explicit-null {7805                      container explicit-null {
8684                        presence "Indicates a explicit-null node is configured.";7806                        presence "Indicates a explicit-null node is configured.";
8685                        description7807                        description
8686                          "Upstream neighbor must replace prefix-sid with explicit null label";7808                          "Upstream neighbor must replace prefix-sid with explicit null label";
8687                      }7809                      }
8688                      container n-flag-clear {7810                      container n-flag-clear {
8689                        presence "Indicates a n-flag-clear node is configured.";7811                        presence "Indicates a n-flag-clear node is configured.";
8690                        description7812                        description
8691                          "Clear N-flag for the prefix-SID ";7813                          "Clear N-flag for the prefix-SID ";
8692                      }7814                      }
8693                    }7815                    }
8694                    container algorithms {7816                    container algorithms {
8695                      description7817                      description
8696                        "Algorithm Specific Prefix SID Configuration";7818                        "Algorithm Specific Prefix SID Configuration";
8697                      list algorithm {7819                      list algorithm {
8698                        key "algorithm-number";7820                        key "algorithm-number";
8699                        description7821                        description
8700                          "Algorithm Specific Prefix SID Configuration";7822                          "Algorithm Specific Prefix SID Configuration";
8701                        leaf algorithm-number {7823                        leaf algorithm-number {
8702                          type uint32 {7824                          type uint32 {
8703                            range "128..255" {7825                            range "128..255" {
8704                              description7826                              description
8705                                "Algorithm number";7827                                "Algorithm number";
8706                            }7828                            }
8707                          }7829                          }
8708                          description7830                          description
8709                            "Algorithm Specific Prefix SID Configuration";7831                            "Algorithm Specific Prefix SID Configuration";
8710                        }7832                        }
8711                        container index {7833                        container index {
8712                          must "not(../absolute)";7834                          must "not(../absolute)";
8713                          presence "Indicates a index node is configured.";7835                          presence "Indicates a index node is configured.";
8714                          description7836                          description
8715                            "Specify the index of Prefix Segement ID";7837                            "Specify the index of Prefix Segement ID";
8716                          leaf sid-index {7838                          leaf sid-index {
8717                            type uint32 {7839                            type uint32 {
8718                              range "0..1048575" {7840                              range "0..1048575" {
8719                                description7841                                description
8720                                  "The Prefix Segment ID index";7842                                  "The Prefix Segment ID index";
8721                              }7843                              }
8722                            }7844                            }
8723                            mandatory true;7845                            mandatory true;
8724                            description7846                            description
8725                              "Specify the index of Prefix Segement ID";7847                              "Specify the index of Prefix Segement ID";
8726                          }7848                          }
8727                        }7849                        }
8728                        container absolute {7850                        container absolute {
8729                          must "not(../index)";7851                          must "not(../index)";
8730                          presence "Indicates a absolute node is configured.";7852                          presence "Indicates a absolute node is configured.";
8731                          description7853                          description
8732                            "Specify the absolute value of Prefix Segement ID";7854                            "Specify the absolute value of Prefix Segement ID";
8733                          leaf sid-value {7855                          leaf sid-value {
8734                            type uint32 {7856                            type uint32 {
8735                              range "16000..1048575" {7857                              range "16000..1048575" {
8736                                description7858                                description
8737                                  "The Prefix Segment ID value";7859                                  "The Prefix Segment ID value";
8738                              }7860                              }
8739                            }7861                            }
8740                            mandatory true;7862                            mandatory true;
8741                            description7863                            description
8742                              "Specify the absolute value of Prefix Segement ID";7864                              "Specify the absolute value of Prefix Segement ID";
8743                          }7865                          }
8744                        }7866                        }
n8745                        container php-disable {n
8746                          presence "Indicates a php-disable node is configured.";
8747                          description
8748                            "Disable Penultimate Hop Popping";
8749                        }
8750                        container explicit-null {7867                        container explicit-null {
8751                          presence "Indicates a explicit-null node is configured.";7868                          presence "Indicates a explicit-null node is configured.";
8752                          description7869                          description
8753                            "Upstream neighbor must replace prefix-sid with explicit null label";7870                            "Upstream neighbor must replace prefix-sid with explicit null label";
8754                        }7871                        }
8755                        container n-flag-clear {7872                        container n-flag-clear {
8756                          presence "Indicates a n-flag-clear node is configured.";7873                          presence "Indicates a n-flag-clear node is configured.";
8757                          description7874                          description
8758                            "Clear N-flag for the prefix-SID ";7875                            "Clear N-flag for the prefix-SID ";
8759                        }7876                        }
8760                      }7877                      }
8761                    }7878                    }
8762                  }7879                  }
8763                  container adjacency-sid {7880                  container adjacency-sid {
8764                    when "../saf-name = 'unicast'";7881                    when "../saf-name = 'unicast'";
8765                    description7882                    description
8766                      "Specify the Adjacency Segment ID";7883                      "Specify the Adjacency Segment ID";
8767                    container indexes {7884                    container indexes {
8768                      description7885                      description
8769                        "Specify the index of Adjacency Segement ID";7886                        "Specify the index of Adjacency Segement ID";
8770                      list index {7887                      list index {
8771                        key "sid-index";7888                        key "sid-index";
8772                        description7889                        description
8773                          "Specify the index of Adjacency Segement ID";7890                          "Specify the index of Adjacency Segement ID";
8774                        leaf sid-index {7891                        leaf sid-index {
8775                          type uint32 {7892                          type uint32 {
8776                            range "0..1048575" {7893                            range "0..1048575" {
8777                              description7894                              description
8778                                "The Adjacency Segment ID index";7895                                "The Adjacency Segment ID index";
8779                            }7896                            }
8780                          }7897                          }
8781                          description7898                          description
8782                            "Specify the index of Adjacency Segement ID";7899                            "Specify the index of Adjacency Segement ID";
8783                        }7900                        }
8784                        container protected {7901                        container protected {
8785                          presence "Indicates a protected node is configured.";7902                          presence "Indicates a protected node is configured.";
8786                          description7903                          description
8787                            "Protect Adjacency SID";7904                            "Protect Adjacency SID";
8788                        }7905                        }
8789                      }7906                      }
8790                    }7907                    }
8791                    container absolutes {7908                    container absolutes {
8792                      description7909                      description
8793                        "Specify the absolute value of Adjacency Segement ID";7910                        "Specify the absolute value of Adjacency Segement ID";
8794                      list absolute {7911                      list absolute {
8795                        key "sid-value";7912                        key "sid-value";
8796                        description7913                        description
8797                          "Specify the absolute value of Adjacency Segement ID";7914                          "Specify the absolute value of Adjacency Segement ID";
8798                        leaf sid-value {7915                        leaf sid-value {
8799                          type uint32 {7916                          type uint32 {
8800                            range "0..1048575" {7917                            range "0..1048575" {
8801                              description7918                              description
8802                                "The Adjacency Segment ID value";7919                                "The Adjacency Segment ID value";
8803                            }7920                            }
8804                          }7921                          }
8805                          description7922                          description
8806                            "Specify the absolute value of Adjacency Segement ID";7923                            "Specify the absolute value of Adjacency Segement ID";
8807                        }7924                        }
8808                        container protected {7925                        container protected {
8809                          presence "Indicates a protected node is configured.";7926                          presence "Indicates a protected node is configured.";
8810                          description7927                          description
8811                            "Protect Adjacency SID";7928                            "Protect Adjacency SID";
8812                        }7929                        }
8813                      }7930                      }
8814                    }7931                    }
8815                  }7932                  }
8816                  container fast-reroute {7933                  container fast-reroute {
8817                    when "../saf-name = 'unicast'";7934                    when "../saf-name = 'unicast'";
8818                    description7935                    description
8819                      "Configure Fast ReRoute";7936                      "Configure Fast ReRoute";
8820                    container computation {7937                    container computation {
n8821                      descriptionn
8822                        "Computation Fast ReRoute";
8823                      container per-link-computation {7938                      container per-link-computation {
8824                        must "not(../per-prefix-computation)";7939                        must "not(../per-prefix-computation)";
8825                        presence "Indicates a per-link-computation node is configured.";7940                        presence "Indicates a per-link-computation node is configured.";
8826                        description7941                        description
8827                          "Prefix independent per-link computation";7942                          "Prefix independent per-link computation";
8828                      }7943                      }
8829                      container per-prefix-computation {7944                      container per-prefix-computation {
8830                        must "not(../per-link-computation)";7945                        must "not(../per-link-computation)";
8831                        presence "Indicates a per-prefix-computation node is configured.";7946                        presence "Indicates a per-prefix-computation node is configured.";
8832                        description7947                        description
8833                          "Prefix dependent computation";7948                          "Prefix dependent computation";
8834                      }7949                      }
8835                      container levels {7950                      container levels {
8836                        description7951                        description
8837                          "Configure FRR for one level only";7952                          "Configure FRR for one level only";
8838                        list level {7953                        list level {
8839                          must "per-link-computation or per-prefix-computation";7954                          must "per-link-computation or per-prefix-computation";
8840                          key "level-id";7955                          key "level-id";
8841                          description7956                          description
8842                            "Configure FRR for one level only";7957                            "Configure FRR for one level only";
8843                          leaf level-id {7958                          leaf level-id {
8844                            type uint32 {7959                            type uint32 {
8845                              range "1..2" {7960                              range "1..2" {
8846                                description7961                                description
8847                                  "Level";7962                                  "Level";
8848                              }7963                              }
8849                            }7964                            }
8850                            description7965                            description
8851                              "Configure FRR for one level only";7966                              "Configure FRR for one level only";
8852                          }7967                          }
8853                          container per-link-computation {7968                          container per-link-computation {
8854                            must "not(../per-prefix-computation)";7969                            must "not(../per-prefix-computation)";
8855                            presence "Indicates a per-link node is configured.";7970                            presence "Indicates a per-link node is configured.";
8856                            description7971                            description
8857                              "Prefix independent per-link computation";7972                              "Prefix independent per-link computation";
8858                          }7973                          }
8859                          container per-prefix-computation {7974                          container per-prefix-computation {
8860                            must "not(../per-link-computation)";7975                            must "not(../per-link-computation)";
8861                            presence "Indicates a per-prefix node is configured.";7976                            presence "Indicates a per-prefix node is configured.";
8862                            description7977                            description
8863                              "Prefix dependent computation";7978                              "Prefix dependent computation";
8864                          }7979                          }
8865                        }7980                        }
8866                      }7981                      }
8867                    }7982                    }
8868                    container per-link {7983                    container per-link {
8869                      description7984                      description
8870                        "Prefix independent per-link computation";7985                        "Prefix independent per-link computation";
8871                      container exclude {7986                      container exclude {
8872                        description7987                        description
8873                          "FRR exclusion information";7988                          "FRR exclusion information";
8874                        container interfaces {7989                        container interfaces {
8875                          description7990                          description
8876                            "Exclude an interface from computation";7991                            "Exclude an interface from computation";
8877                          list interface {7992                          list interface {
8878                            key "interface-name";7993                            key "interface-name";
8879                            description7994                            description
8880                              "Exclude an interface from computation";7995                              "Exclude an interface from computation";
8881                            leaf interface-name {7996                            leaf interface-name {
8882                              type xr:Interface-name;7997                              type xr:Interface-name;
8883                              description7998                              description
8884                                "Exclude an interface from computation";7999                                "Exclude an interface from computation";
8885                            }8000                            }
8886                            leaf level {8001                            leaf level {
8887                              type uint32 {8002                              type uint32 {
8888                                range "1..2" {8003                                range "1..2" {
8889                                  description8004                                  description
8890                                    "Level";8005                                    "Level";
8891                                }8006                                }
8892                              }8007                              }
8893                              description8008                              description
8894                                "Exclude interface for one level only";8009                                "Exclude interface for one level only";
8895                            }8010                            }
8896                          }8011                          }
8897                        }8012                        }
8898                      }8013                      }
8899                      container lfa-candidate {8014                      container lfa-candidate {
8900                        description8015                        description
8901                          "FRR LFA candidate information";8016                          "FRR LFA candidate information";
8902                        container interfaces {8017                        container interfaces {
8903                          description8018                          description
8904                            "Include an interface to LFA candidate in computation";8019                            "Include an interface to LFA candidate in computation";
8905                          list interface {8020                          list interface {
8906                            key "interface-name";8021                            key "interface-name";
8907                            description8022                            description
8908                              "Include an interface to LFA candidate in computation";8023                              "Include an interface to LFA candidate in computation";
8909                            leaf interface-name {8024                            leaf interface-name {
8910                              type xr:Interface-name;8025                              type xr:Interface-name;
8911                              description8026                              description
8912                                "Include an interface to LFA candidate in computation";8027                                "Include an interface to LFA candidate in computation";
8913                            }8028                            }
8914                            leaf level {8029                            leaf level {
8915                              type uint32 {8030                              type uint32 {
8916                                range "1..2" {8031                                range "1..2" {
8917                                  description8032                                  description
8918                                    "Level";8033                                    "Level";
8919                                }8034                                }
8920                              }8035                              }
8921                              description8036                              description
8922                                "Include interface for one level only";8037                                "Include interface for one level only";
8923                            }8038                            }
8924                          }8039                          }
8925                        }8040                        }
8926                      }8041                      }
8927                    }8042                    }
8928                    container per-prefix {8043                    container per-prefix {
8929                      description8044                      description
8930                        "Prefix dependent computation";8045                        "Prefix dependent computation";
8931                      container remote-lfa {8046                      container remote-lfa {
8932                        description8047                        description
8933                          "Enable remote LFA computation";8048                          "Enable remote LFA computation";
8934                        container tunnel {8049                        container tunnel {
8935                          description8050                          description
8936                            "Enable remote LFA computation using tunnels";8051                            "Enable remote LFA computation using tunnels";
8937                          container mpls-ldp {8052                          container mpls-ldp {
8938                            presence "Indicates a mpls-ldp node is configured.";8053                            presence "Indicates a mpls-ldp node is configured.";
8939                            description8054                            description
8940                              "Use MPLS LDP tunnel to reach the remote LFA node";8055                              "Use MPLS LDP tunnel to reach the remote LFA node";
8941                          }8056                          }
8942                          container levels {8057                          container levels {
8943                            description8058                            description
8944                              "Enable remote LFA for one level only";8059                              "Enable remote LFA for one level only";
8945                            list level {8060                            list level {
8946                              must "mpls-ldp";8061                              must "mpls-ldp";
8947                              key "level-id";8062                              key "level-id";
8948                              description8063                              description
8949                                "Enable remote LFA for one level only";8064                                "Enable remote LFA for one level only";
8950                              leaf level-id {8065                              leaf level-id {
8951                                type uint32 {8066                                type uint32 {
8952                                  range "1..2" {8067                                  range "1..2" {
8953                                    description8068                                    description
8954                                      "Set remote LFA for this level";8069                                      "Set remote LFA for this level";
8955                                  }8070                                  }
8956                                }8071                                }
8957                                description8072                                description
8958                                  "Enable remote LFA for one level only";8073                                  "Enable remote LFA for one level only";
8959                              }8074                              }
8960                              container mpls-ldp {8075                              container mpls-ldp {
8961                                presence "Indicates a mpls-ldp node is configured.";8076                                presence "Indicates a mpls-ldp node is configured.";
8962                                description8077                                description
8963                                  "Use MPLS LDP tunnel to reach the remote LFA node";8078                                  "Use MPLS LDP tunnel to reach the remote LFA node";
8964                              }8079                              }
8965                            }8080                            }
8966                          }8081                          }
8967                        }8082                        }
8968                        container maximum-metric {8083                        container maximum-metric {
8969                          description8084                          description
8970                            "Limit remote LFA node selection within the metric";8085                            "Limit remote LFA node selection within the metric";
8971                          leaf metric {8086                          leaf metric {
8972                            type uint32 {8087                            type uint32 {
8973                              range "1..16777215" {8088                              range "1..16777215" {
8974                                description8089                                description
8975                                  "Value of the metric";8090                                  "Value of the metric";
8976                              }8091                              }
8977                            }8092                            }
8978                            description8093                            description
8979                              "Value of the metric";8094                              "Value of the metric";
8980                          }8095                          }
8981                          container levels {8096                          container levels {
8982                            description8097                            description
8983                              "Enable remote LFA max metric for one level only";8098                              "Enable remote LFA max metric for one level only";
8984                            list level {8099                            list level {
8985                              key "level-id";8100                              key "level-id";
8986                              description8101                              description
8987                                "Enable remote LFA max metric for one level only";8102                                "Enable remote LFA max metric for one level only";
8988                              leaf level-id {8103                              leaf level-id {
8989                                type uint32 {8104                                type uint32 {
8990                                  range "1..2" {8105                                  range "1..2" {
8991                                    description8106                                    description
8992                                      "Set remote LFA max metric value for this level";8107                                      "Set remote LFA max metric value for this level";
8993                                  }8108                                  }
8994                                }8109                                }
8995                                description8110                                description
8996                                  "Enable remote LFA max metric for one level only";8111                                  "Enable remote LFA max metric for one level only";
8997                              }8112                              }
8998                              leaf metric {8113                              leaf metric {
8999                                type uint32 {8114                                type uint32 {
9000                                  range "1..16777215" {8115                                  range "1..16777215" {
9001                                    description8116                                    description
9002                                      "Value of the metric";8117                                      "Value of the metric";
9003                                  }8118                                  }
9004                                }8119                                }
9005                                mandatory true;8120                                mandatory true;
9006                                description8121                                description
9007                                  "Value of the metric";8122                                  "Value of the metric";
9008                              }8123                              }
9009                            }8124                            }
9010                          }8125                          }
9011                        }8126                        }
9012                      }8127                      }
9013                      container per-prefix {8128                      container per-prefix {
9014                        description8129                        description
9015                          "Prefix dependent computation";8130                          "Prefix dependent computation";
9016                        container ti-lfa {8131                        container ti-lfa {
9017                          presence "Indicates a ti-lfa node is configured.";8132                          presence "Indicates a ti-lfa node is configured.";
9018                          description8133                          description
9019                            "Enable TI LFA computation";8134                            "Enable TI LFA computation";
9020                        }8135                        }
9021                        container levels {8136                        container levels {
9022                          description8137                          description
9023                            "Enable EPCFRR LFA for one level only";8138                            "Enable EPCFRR LFA for one level only";
9024                          list level {8139                          list level {
9025                            must "ti-lfa";8140                            must "ti-lfa";
9026                            key "level-id";8141                            key "level-id";
9027                            description8142                            description
9028                              "Enable EPCFRR LFA for one level only";8143                              "Enable EPCFRR LFA for one level only";
9029                            leaf level-id {8144                            leaf level-id {
9030                              type uint32 {8145                              type uint32 {
9031                                range "1..2" {8146                                range "1..2" {
9032                                  description8147                                  description
9033                                    "Set EPCFRR LFA for this level";8148                                    "Set EPCFRR LFA for this level";
9034                                }8149                                }
9035                              }8150                              }
9036                              description8151                              description
9037                                "Enable EPCFRR LFA for one level only";8152                                "Enable EPCFRR LFA for one level only";
9038                            }8153                            }
9039                            container ti-lfa {8154                            container ti-lfa {
9040                              presence "Indicates a ti-lfa node is configured.";8155                              presence "Indicates a ti-lfa node is configured.";
9041                              description8156                              description
9042                                "Enable TI LFA computation";8157                                "Enable TI LFA computation";
9043                            }8158                            }
9044                          }8159                          }
9045                        }8160                        }
9046                      }8161                      }
9047                      container tiebreaker {8162                      container tiebreaker {
9048                        description8163                        description
9049                          "Configure tiebreaker for multiple backups";8164                          "Configure tiebreaker for multiple backups";
9050                        container node-protecting {8165                        container node-protecting {
9051                          description8166                          description
9052                            "Prefer node protecting backup path";8167                            "Prefer node protecting backup path";
9053                          container index {8168                          container index {
9054                            description8169                            description
9055                              "Set preference order among tiebreakers";8170                              "Set preference order among tiebreakers";
9056                            leaf preference-order {8171                            leaf preference-order {
9057                              type uint32 {8172                              type uint32 {
9058                                range "1..255" {8173                                range "1..255" {
9059                                  description8174                                  description
9060                                    "Index";8175                                    "Index";
9061                                }8176                                }
9062                              }8177                              }
9063                              description8178                              description
9064                                "Set preference order among tiebreakers";8179                                "Set preference order among tiebreakers";
9065                            }8180                            }
9066                            container levels {8181                            container levels {
9067                              description8182                              description
9068                                "Configure tiebreaker for one level only";8183                                "Configure tiebreaker for one level only";
9069                              list level {8184                              list level {
9070                                key "level-id";8185                                key "level-id";
9071                                description8186                                description
9072                                  "Configure tiebreaker for one level only";8187                                  "Configure tiebreaker for one level only";
9073                                leaf level-id {8188                                leaf level-id {
9074                                  type uint32 {8189                                  type uint32 {
9075                                    range "1..2" {8190                                    range "1..2" {
9076                                      description8191                                      description
9077                                        "Level";8192                                        "Level";
9078                                    }8193                                    }
9079                                  }8194                                  }
9080                                  description8195                                  description
9081                                    "Configure tiebreaker for one level only";8196                                    "Configure tiebreaker for one level only";
9082                                }8197                                }
9083                                leaf preference-order {8198                                leaf preference-order {
9084                                  type uint32 {8199                                  type uint32 {
9085                                    range "1..255" {8200                                    range "1..255" {
9086                                      description8201                                      description
9087                                        "Index";8202                                        "Index";
9088                                    }8203                                    }
9089                                  }8204                                  }
9090                                  mandatory true;8205                                  mandatory true;
9091                                  description8206                                  description
9092                                    "Set preference order among tiebreakers";8207                                    "Set preference order among tiebreakers";
9093                                }8208                                }
9094                              }8209                              }
9095                            }8210                            }
9096                          }8211                          }
9097                        }8212                        }
9098                        container srlg-disjoint {8213                        container srlg-disjoint {
9099                          description8214                          description
9100                            "Prefer SRLG disjoint backup path";8215                            "Prefer SRLG disjoint backup path";
9101                          container index {8216                          container index {
9102                            description8217                            description
9103                              "Set preference order among tiebreakers";8218                              "Set preference order among tiebreakers";
9104                            leaf preference-order {8219                            leaf preference-order {
9105                              type uint32 {8220                              type uint32 {
9106                                range "1..255" {8221                                range "1..255" {
9107                                  description8222                                  description
9108                                    "Index";8223                                    "Index";
9109                                }8224                                }
9110                              }8225                              }
9111                              description8226                              description
9112                                "Set preference order among tiebreakers";8227                                "Set preference order among tiebreakers";
9113                            }8228                            }
9114                            container levels {8229                            container levels {
9115                              description8230                              description
9116                                "Configure tiebreaker for one level only";8231                                "Configure tiebreaker for one level only";
9117                              list level {8232                              list level {
9118                                key "level-id";8233                                key "level-id";
9119                                description8234                                description
9120                                  "Configure tiebreaker for one level only";8235                                  "Configure tiebreaker for one level only";
9121                                leaf level-id {8236                                leaf level-id {
9122                                  type uint32 {8237                                  type uint32 {
9123                                    range "1..2" {8238                                    range "1..2" {
9124                                      description8239                                      description
9125                                        "Level";8240                                        "Level";
9126                                    }8241                                    }
9127                                  }8242                                  }
9128                                  description8243                                  description
9129                                    "Configure tiebreaker for one level only";8244                                    "Configure tiebreaker for one level only";
9130                                }8245                                }
9131                                leaf preference-order {8246                                leaf preference-order {
9132                                  type uint32 {8247                                  type uint32 {
9133                                    range "1..255" {8248                                    range "1..255" {
9134                                      description8249                                      description
9135                                        "Index";8250                                        "Index";
9136                                    }8251                                    }
9137                                  }8252                                  }
9138                                  mandatory true;8253                                  mandatory true;
9139                                  description8254                                  description
9140                                    "Set preference order among tiebreakers";8255                                    "Set preference order among tiebreakers";
9141                                }8256                                }
9142                              }8257                              }
9143                            }8258                            }
9144                          }8259                          }
9145                        }8260                        }
9146                        container default {8261                        container default {
9147                          description8262                          description
9148                            "Prefer default (link protecting) backup path";8263                            "Prefer default (link protecting) backup path";
9149                          container default-backup-path {8264                          container default-backup-path {
9150                            presence "Indicates a default node is configured.";8265                            presence "Indicates a default node is configured.";
9151                            description8266                            description
9152                              "Prefer default (link protecting) backup path";8267                              "Prefer default (link protecting) backup path";
9153                          }8268                          }
9154                          container levels {8269                          container levels {
9155                            description8270                            description
9156                              "Configure tiebreaker for one level only";8271                              "Configure tiebreaker for one level only";
9157                            list level {8272                            list level {
9158                              must "default-backup-path";8273                              must "default-backup-path";
9159                              key "level-id";8274                              key "level-id";
9160                              description8275                              description
9161                                "Configure tiebreaker for one level only";8276                                "Configure tiebreaker for one level only";
9162                              leaf level-id {8277                              leaf level-id {
9163                                type uint32 {8278                                type uint32 {
9164                                  range "1..2" {8279                                  range "1..2" {
9165                                    description8280                                    description
9166                                      "Level";8281                                      "Level";
9167                                  }8282                                  }
9168                                }8283                                }
9169                                description8284                                description
9170                                  "Configure tiebreaker for one level only";8285                                  "Configure tiebreaker for one level only";
9171                              }8286                              }
9172                              container default-backup-path {8287                              container default-backup-path {
9173                                presence "Indicates a default node is configured.";8288                                presence "Indicates a default node is configured.";
9174                                description8289                                description
9175                                  "Prefer default (link protecting) backup path";8290                                  "Prefer default (link protecting) backup path";
9176                              }8291                              }
9177                            }8292                            }
9178                          }8293                          }
9179                        }8294                        }
9180                      }8295                      }
9181                      container exclude {8296                      container exclude {
9182                        description8297                        description
9183                          "FRR exclusion information";8298                          "FRR exclusion information";
9184                        container interfaces {8299                        container interfaces {
9185                          description8300                          description
9186                            "Exclude an interface from computation";8301                            "Exclude an interface from computation";
9187                          list interface {8302                          list interface {
9188                            key "interface-name";8303                            key "interface-name";
9189                            description8304                            description
9190                              "Exclude an interface from computation";8305                              "Exclude an interface from computation";
9191                            leaf interface-name {8306                            leaf interface-name {
9192                              type xr:Interface-name;8307                              type xr:Interface-name;
9193                              description8308                              description
9194                                "Exclude an interface from computation";8309                                "Exclude an interface from computation";
9195                            }8310                            }
9196                            leaf level {8311                            leaf level {
9197                              type uint32 {8312                              type uint32 {
9198                                range "1..2" {8313                                range "1..2" {
9199                                  description8314                                  description
9200                                    "Level";8315                                    "Level";
9201                                }8316                                }
9202                              }8317                              }
9203                              description8318                              description
9204                                "Exclude interface for one level only";8319                                "Exclude interface for one level only";
9205                            }8320                            }
9206                          }8321                          }
9207                        }8322                        }
9208                      }8323                      }
9209                      container lfa-candidate {8324                      container lfa-candidate {
9210                        description8325                        description
9211                          "FRR LFA candidate information";8326                          "FRR LFA candidate information";
9212                        container interfaces {8327                        container interfaces {
9213                          description8328                          description
9214                            "Include an interface to LFA candidate in computation";8329                            "Include an interface to LFA candidate in computation";
9215                          list interface {8330                          list interface {
9216                            key "interface-name";8331                            key "interface-name";
9217                            description8332                            description
9218                              "Include an interface to LFA candidate in computation";8333                              "Include an interface to LFA candidate in computation";
9219                            leaf interface-name {8334                            leaf interface-name {
9220                              type xr:Interface-name;8335                              type xr:Interface-name;
9221                              description8336                              description
9222                                "Include an interface to LFA candidate in computation";8337                                "Include an interface to LFA candidate in computation";
9223                            }8338                            }
9224                            leaf level {8339                            leaf level {
9225                              type uint32 {8340                              type uint32 {
9226                                range "1..2" {8341                                range "1..2" {
9227                                  description8342                                  description
9228                                    "Level";8343                                    "Level";
9229                                }8344                                }
9230                              }8345                              }
9231                              description8346                              description
9232                                "Include interface for one level only";8347                                "Include interface for one level only";
9233                            }8348                            }
9234                          }8349                          }
9235                        }8350                        }
9236                      }8351                      }
9237                    }8352                    }
9238                  }8353                  }
9239                  container link-group {8354                  container link-group {
9240                    presence "Indicates a link-group node is configured.";8355                    presence "Indicates a link-group node is configured.";
9241                    description8356                    description
9242                      "Set interface link group";8357                      "Set interface link group";
9243                    leaf link-group-name {8358                    leaf link-group-name {
9244                      type string {8359                      type string {
9245                        length "1..40" {8360                        length "1..40" {
9246                          description8361                          description
9247                            "Interface link group";8362                            "Interface link group";
9248                        }8363                        }
9249                      }8364                      }
9250                      mandatory true;8365                      mandatory true;
9251                      description8366                      description
9252                        "Set interface link group";8367                        "Set interface link group";
9253                    }8368                    }
9254                    leaf level {8369                    leaf level {
9255                      type uint32 {8370                      type uint32 {
9256                        range "1..2" {8371                        range "1..2" {
9257                          description8372                          description
9258                            "Set the tag only at this level";8373                            "Set the tag only at this level";
9259                        }8374                        }
9260                      }8375                      }
9261                      description8376                      description
9262                        "Set the tag only at supplied level";8377                        "Set the tag only at supplied level";
9263                    }8378                    }
9264                  }8379                  }
9265                  container weight {8380                  container weight {
9266                    description8381                    description
9267                      "Configure weight for the interface";8382                      "Configure weight for the interface";
9268                    leaf weight-value {8383                    leaf weight-value {
9269                      type uint32 {8384                      type uint32 {
9270                        range "1..16777214" {8385                        range "1..16777214" {
9271                          description8386                          description
9272                            "Configure weight for unequal load balancing";8387                            "Configure weight for unequal load balancing";
9273                        }8388                        }
9274                      }8389                      }
9275                      description8390                      description
9276                        "Configure weight for the interface";8391                        "Configure weight for the interface";
9277                    }8392                    }
9278                    container levels {8393                    container levels {
9279                      description8394                      description
9280                        "Set weight for one level only";8395                        "Set weight for one level only";
9281                      list level {8396                      list level {
9282                        key "level-id";8397                        key "level-id";
9283                        description8398                        description
9284                          "Set weight for one level only";8399                          "Set weight for one level only";
9285                        leaf level-id {8400                        leaf level-id {
9286                          type uint32 {8401                          type uint32 {
9287                            range "1..2" {8402                            range "1..2" {
9288                              description8403                              description
9289                                "Set weight at this level only";8404                                "Set weight at this level only";
9290                            }8405                            }
9291                          }8406                          }
9292                          description8407                          description
9293                            "Set weight for one level only";8408                            "Set weight for one level only";
9294                        }8409                        }
9295                        leaf weight-value {8410                        leaf weight-value {
9296                          type uint32 {8411                          type uint32 {
9297                            range "1..16777214" {8412                            range "1..16777214" {
9298                              description8413                              description
9299                                "Configure weight for unequal load balancing";8414                                "Configure weight for unequal load balancing";
9300                            }8415                            }
9301                          }8416                          }
9302                          mandatory true;8417                          mandatory true;
9303                          description8418                          description
9304                            "Configure weight for the interface";8419                            "Configure weight for the interface";
9305                        }8420                        }
9306                      }8421                      }
9307                    }8422                    }
9308                  }8423                  }
9309                  container auto-metric {8424                  container auto-metric {
9310                    description8425                    description
9311                      "Configure the auto-metric for interface";8426                      "Configure the auto-metric for interface";
9312                    container proactive-protect {8427                    container proactive-protect {
9313                      description8428                      description
9314                        "set auto-metric proactive-protect mode";8429                        "set auto-metric proactive-protect mode";
9315                      leaf absolute-metric {8430                      leaf absolute-metric {
9316                        type uint32 {8431                        type uint32 {
9317                          range "1..16777214" {8432                          range "1..16777214" {
9318                            description8433                            description
9319                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8434                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9320                          }8435                          }
9321                        }8436                        }
9322                        description8437                        description
9323                          "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8438                          "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9324                      }8439                      }
9325                      container levels {8440                      container levels {
9326                        description8441                        description
9327                          "Set metric for one level only";8442                          "Set metric for one level only";
9328                        list level {8443                        list level {
9329                          key "level-id";8444                          key "level-id";
9330                          description8445                          description
9331                            "Set metric for one level only";8446                            "Set metric for one level only";
9332                          leaf level-id {8447                          leaf level-id {
9333                            type uint32 {8448                            type uint32 {
9334                              range "1..2" {8449                              range "1..2" {
9335                                description8450                                description
9336                                  "Set metric at this level only";8451                                  "Set metric at this level only";
9337                              }8452                              }
9338                            }8453                            }
9339                            description8454                            description
9340                              "Set metric for one level only";8455                              "Set metric for one level only";
9341                          }8456                          }
9342                          leaf absolute-metric {8457                          leaf absolute-metric {
9343                            type uint32 {8458                            type uint32 {
9344                              range "1..16777214" {8459                              range "1..16777214" {
9345                                description8460                                description
9346                                  "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8461                                  "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9347                              }8462                              }
9348                            }8463                            }
9349                            mandatory true;8464                            mandatory true;
9350                            description8465                            description
9351                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8466                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9352                          }8467                          }
9353                        }8468                        }
9354                      }8469                      }
9355                    }8470                    }
9356                  }8471                  }
9357                  container advertise {8472                  container advertise {
9358                    when "../saf-name = 'unicast'";8473                    when "../saf-name = 'unicast'";
9359                    description8474                    description
9360                      "Configure the AF specific advertisement";8475                      "Configure the AF specific advertisement";
9361                    container prefix {8476                    container prefix {
9362                      description8477                      description
9363                        "Configure the prefix advertisement";8478                        "Configure the prefix advertisement";
9364                      leaf route-policy {8479                      leaf route-policy {
9365                        type xr:Route-policy-name;8480                        type xr:Route-policy-name;
9366                        description8481                        description
9367                          "Filter routes based on a route policy";8482                          "Filter routes based on a route policy";
9368                      }8483                      }
9369                      container levels {8484                      container levels {
9370                        description8485                        description
9371                          "Set advertisement for one level only";8486                          "Set advertisement for one level only";
9372                        list level {8487                        list level {
9373                          key "level-id";8488                          key "level-id";
9374                          description8489                          description
9375                            "Set advertisement for one level only";8490                            "Set advertisement for one level only";
9376                          leaf level-id {8491                          leaf level-id {
9377                            type uint32 {8492                            type uint32 {
9378                              range "1..2" {8493                              range "1..2" {
9379                                description8494                                description
9380                                  "Set advertisement at this level only";8495                                  "Set advertisement at this level only";
9381                              }8496                              }
9382                            }8497                            }
9383                            description8498                            description
9384                              "Set advertisement for one level only";8499                              "Set advertisement for one level only";
9385                          }8500                          }
9386                          leaf route-policy {8501                          leaf route-policy {
9387                            type xr:Route-policy-name;8502                            type xr:Route-policy-name;
9388                            description8503                            description
9389                              "Filter routes based on a route policy";8504                              "Filter routes based on a route policy";
9390                          }8505                          }
9391                        }8506                        }
9392                      }8507                      }
9393                    }8508                    }
9394                  }8509                  }
9395                  container disable {8510                  container disable {
9396                    presence "Indicates a disable node is configured.";8511                    presence "Indicates a disable node is configured.";
9397                    description8512                    description
9398                      "Disable IS-IS for this topology on this interface";8513                      "Disable IS-IS for this topology on this interface";
9399                  }8514                  }
9400                }8515                }
9401                list address-family-topology {8516                list address-family-topology {
9402                  key "af-name saf-name topology-name";8517                  key "af-name saf-name topology-name";
9403                  description8518                  description
9404                    "Address family with a non-default topology";8519                    "Address family with a non-default topology";
9405                  leaf af-name {8520                  leaf af-name {
9406                    type Isis-af-name;8521                    type Isis-af-name;
9407                    description8522                    description
9408                      "Address family name";8523                      "Address family name";
9409                  }8524                  }
9410                  leaf saf-name {8525                  leaf saf-name {
9411                    type Isis-saf-name;8526                    type Isis-saf-name;
9412                    description8527                    description
9413                      "Sub address family name";8528                      "Sub address family name";
9414                  }8529                  }
9415                  leaf topology-name {8530                  leaf topology-name {
9416                    type string {8531                    type string {
9417                      length "1..32" {8532                      length "1..32" {
9418                        description8533                        description
9419                          "Topology name";8534                          "Topology name";
9420                      }8535                      }
9421                    }8536                    }
9422                    description8537                    description
9423                      "Specify a non-default topology";8538                      "Specify a non-default topology";
9424                  }8539                  }
9425                  container metric {8540                  container metric {
9426                    description8541                    description
9427                      "Configure the metric for interface";8542                      "Configure the metric for interface";
9428                    leaf default-metric {8543                    leaf default-metric {
9429                      type uint32 {8544                      type uint32 {
9430                        range "1..16777214" {8545                        range "1..16777214" {
9431                          description8546                          description
9432                            "Default metric: <1-63> for narrow, <1-16777214> for wide";8547                            "Default metric: <1-63> for narrow, <1-16777214> for wide";
9433                        }8548                        }
9434                      }8549                      }
9435                      must "not(../maximum)";8550                      must "not(../maximum)";
9436                      description8551                      description
9437                        "Default metric";8552                        "Default metric";
9438                    }8553                    }
9439                    container maximum {8554                    container maximum {
9440                      must "not(../default-metric)";8555                      must "not(../default-metric)";
9441                      presence "Indicates a maximum node is configured.";8556                      presence "Indicates a maximum node is configured.";
9442                      description8557                      description
9443                        "Maximum wide metric. All routers will exclude this link from their SPF";8558                        "Maximum wide metric. All routers will exclude this link from their SPF";
9444                    }8559                    }
9445                    container levels {8560                    container levels {
9446                      description8561                      description
9447                        "Set metric for one level only";8562                        "Set metric for one level only";
9448                      list level {8563                      list level {
9449                        key "level-id";8564                        key "level-id";
9450                        description8565                        description
9451                          "Set metric for one level only";8566                          "Set metric for one level only";
9452                        leaf level-id {8567                        leaf level-id {
9453                          type uint32 {8568                          type uint32 {
9454                            range "1..2" {8569                            range "1..2" {
9455                              description8570                              description
9456                                "Set metric at this level only";8571                                "Set metric at this level only";
9457                            }8572                            }
9458                          }8573                          }
9459                          description8574                          description
9460                            "Set metric for one level only";8575                            "Set metric for one level only";
9461                        }8576                        }
9462                        leaf default-metric {8577                        leaf default-metric {
9463                          type uint32 {8578                          type uint32 {
9464                            range "1..16777214" {8579                            range "1..16777214" {
9465                              description8580                              description
9466                                "Default metric: <1-63> for narrow, <1-16777214> for wide";8581                                "Default metric: <1-63> for narrow, <1-16777214> for wide";
9467                            }8582                            }
9468                          }8583                          }
9469                          must "not(../maximum)";8584                          must "not(../maximum)";
9470                          description8585                          description
9471                            "Default metric";8586                            "Default metric";
9472                        }8587                        }
9473                        container maximum {8588                        container maximum {
9474                          must "not(../default-metric)";8589                          must "not(../default-metric)";
9475                          presence "Indicates a maximum node is configured.";8590                          presence "Indicates a maximum node is configured.";
9476                          description8591                          description
9477                            "Maximum wide metric. All routers will exclude this link from their SPF";8592                            "Maximum wide metric. All routers will exclude this link from their SPF";
9478                        }8593                        }
9479                      }8594                      }
9480                    }8595                    }
9481                    container fallback {8596                    container fallback {
9482                      description8597                      description
9483                        "Configure the metric fallback for interface";8598                        "Configure the metric fallback for interface";
9484                      container bandwidth {8599                      container bandwidth {
9485                        description8600                        description
9486                          "fallback based on bandwidth change";8601                          "fallback based on bandwidth change";
9487                        leaf multiplier {8602                        leaf multiplier {
9488                          type uint32 {8603                          type uint32 {
9489                            range "2..100000" {8604                            range "2..100000" {
9490                              description8605                              description
9491                                "Set Multiplier of interface metric";8606                                "Set Multiplier of interface metric";
9492                            }8607                            }
9493                          }8608                          }
9494                          must "../threshold";8609                          must "../threshold";
9495                          description8610                          description
9496                            "fallback based on bandwidth change";8611                            "fallback based on bandwidth change";
9497                        }8612                        }
9498                        leaf threshold {8613                        leaf threshold {
9499                          type uint32 {8614                          type uint32 {
9500                            range "1..100" {8615                            range "1..100" {
9501                              description8616                              description
9502                                "Set metric fallback at this threshold only";8617                                "Set metric fallback at this threshold only";
9503                            }8618                            }
9504                          }8619                          }
9505                          must "../multiplier";8620                          must "../multiplier";
9506                          description8621                          description
9507                            "Threshold interms of percentage of bandwidth";8622                            "Threshold interms of percentage of bandwidth";
9508                        }8623                        }
9509                      }8624                      }
9510                    }8625                    }
9511                  }8626                  }
9512                  container te-metric {8627                  container te-metric {
9513                    description8628                    description
9514                      "Configure an application specific TE metric for the interface";8629                      "Configure an application specific TE metric for the interface";
9515                    leaf flex-algo {8630                    leaf flex-algo {
9516                      type uint32 {8631                      type uint32 {
9517                        range "1..16777214" {8632                        range "1..16777214" {
9518                          description8633                          description
9519                            "Flex-algo traffic-engineering metric";8634                            "Flex-algo traffic-engineering metric";
9520                        }8635                        }
9521                      }8636                      }
9522                      description8637                      description
9523                        "Configure a Flex-algo TE metric for the interface";8638                        "Configure a Flex-algo TE metric for the interface";
9524                    }8639                    }
9525                  }8640                  }
9526                  container te-metric-levels {8641                  container te-metric-levels {
9527                    description8642                    description
9528                      "Set metric for one level only";8643                      "Set metric for one level only";
9529                    list level {8644                    list level {
9530                      key "level-id";8645                      key "level-id";
9531                      description8646                      description
9532                        "Set metric for one level only";8647                        "Set metric for one level only";
9533                      leaf level-id {8648                      leaf level-id {
9534                        type uint32 {8649                        type uint32 {
9535                          range "1..2" {8650                          range "1..2" {
9536                            description8651                            description
9537                              "Set metric at this level only";8652                              "Set metric at this level only";
9538                          }8653                          }
9539                        }8654                        }
9540                        description8655                        description
9541                          "Set metric for one level only";8656                          "Set metric for one level only";
9542                      }8657                      }
9543                      leaf flex-algo {8658                      leaf flex-algo {
9544                        type uint32 {8659                        type uint32 {
9545                          range "1..16777214" {8660                          range "1..16777214" {
9546                            description8661                            description
9547                              "Flex-algo traffic-engineering metric";8662                              "Flex-algo traffic-engineering metric";
9548                          }8663                          }
9549                        }8664                        }
9550                        mandatory true;8665                        mandatory true;
9551                        description8666                        description
9552                          "Configure a Flex-algo TE metric for the interface";8667                          "Configure a Flex-algo TE metric for the interface";
9553                      }8668                      }
9554                    }8669                    }
9555                  }8670                  }
9556                  container tag {8671                  container tag {
9557                    description8672                    description
9558                      "Set interface tag";8673                      "Set interface tag";
9559                    leaf interface-tag {8674                    leaf interface-tag {
9560                      type uint32 {8675                      type uint32 {
9561                        range "1..4294967295" {8676                        range "1..4294967295" {
9562                          description8677                          description
9563                            "Interface tag";8678                            "Interface tag";
9564                        }8679                        }
9565                      }8680                      }
9566                      description8681                      description
9567                        "Set interface tag";8682                        "Set interface tag";
9568                    }8683                    }
9569                    container levels {8684                    container levels {
9570                      description8685                      description
9571                        "Set the tag only at supplied level";8686                        "Set the tag only at supplied level";
9572                      list level {8687                      list level {
9573                        key "level-id";8688                        key "level-id";
9574                        description8689                        description
9575                          "Set the tag only at supplied level";8690                          "Set the tag only at supplied level";
9576                        leaf level-id {8691                        leaf level-id {
9577                          type uint32 {8692                          type uint32 {
9578                            range "1..2" {8693                            range "1..2" {
9579                              description8694                              description
9580                                "Set the tag only at this level";8695                                "Set the tag only at this level";
9581                            }8696                            }
9582                          }8697                          }
9583                          description8698                          description
9584                            "Set the tag only at supplied level";8699                            "Set the tag only at supplied level";
9585                        }8700                        }
9586                        leaf interface-tag {8701                        leaf interface-tag {
9587                          type uint32 {8702                          type uint32 {
9588                            range "1..4294967295" {8703                            range "1..4294967295" {
9589                              description8704                              description
9590                                "Interface tag";8705                                "Interface tag";
9591                            }8706                            }
9592                          }8707                          }
9593                          mandatory true;8708                          mandatory true;
9594                          description8709                          description
9595                            "Set interface tag";8710                            "Set interface tag";
9596                        }8711                        }
9597                      }8712                      }
9598                    }8713                    }
9599                  }8714                  }
9600                  container link-group {8715                  container link-group {
9601                    presence "Indicates a link-group node is configured.";8716                    presence "Indicates a link-group node is configured.";
9602                    description8717                    description
9603                      "Set interface link group";8718                      "Set interface link group";
9604                    leaf link-group-name {8719                    leaf link-group-name {
9605                      type string {8720                      type string {
9606                        length "1..40" {8721                        length "1..40" {
9607                          description8722                          description
9608                            "Interface link group";8723                            "Interface link group";
9609                        }8724                        }
9610                      }8725                      }
9611                      mandatory true;8726                      mandatory true;
9612                      description8727                      description
9613                        "Set interface link group";8728                        "Set interface link group";
9614                    }8729                    }
9615                    leaf level {8730                    leaf level {
9616                      type uint32 {8731                      type uint32 {
9617                        range "1..2" {8732                        range "1..2" {
9618                          description8733                          description
9619                            "Set the tag only at this level";8734                            "Set the tag only at this level";
9620                        }8735                        }
9621                      }8736                      }
9622                      description8737                      description
9623                        "Set the tag only at supplied level";8738                        "Set the tag only at supplied level";
9624                    }8739                    }
9625                  }8740                  }
9626                  container weight {8741                  container weight {
9627                    description8742                    description
9628                      "Configure weight for the interface";8743                      "Configure weight for the interface";
9629                    leaf weight-value {8744                    leaf weight-value {
9630                      type uint32 {8745                      type uint32 {
9631                        range "1..16777214" {8746                        range "1..16777214" {
9632                          description8747                          description
9633                            "Configure weight for unequal load balancing";8748                            "Configure weight for unequal load balancing";
9634                        }8749                        }
9635                      }8750                      }
9636                      description8751                      description
9637                        "Configure weight for the interface";8752                        "Configure weight for the interface";
9638                    }8753                    }
9639                    container levels {8754                    container levels {
9640                      description8755                      description
9641                        "Set weight for one level only";8756                        "Set weight for one level only";
9642                      list level {8757                      list level {
9643                        key "level-id";8758                        key "level-id";
9644                        description8759                        description
9645                          "Set weight for one level only";8760                          "Set weight for one level only";
9646                        leaf level-id {8761                        leaf level-id {
9647                          type uint32 {8762                          type uint32 {
9648                            range "1..2" {8763                            range "1..2" {
9649                              description8764                              description
9650                                "Set weight at this level only";8765                                "Set weight at this level only";
9651                            }8766                            }
9652                          }8767                          }
9653                          description8768                          description
9654                            "Set weight for one level only";8769                            "Set weight for one level only";
9655                        }8770                        }
9656                        leaf weight-value {8771                        leaf weight-value {
9657                          type uint32 {8772                          type uint32 {
9658                            range "1..16777214" {8773                            range "1..16777214" {
9659                              description8774                              description
9660                                "Configure weight for unequal load balancing";8775                                "Configure weight for unequal load balancing";
9661                            }8776                            }
9662                          }8777                          }
9663                          mandatory true;8778                          mandatory true;
9664                          description8779                          description
9665                            "Configure weight for the interface";8780                            "Configure weight for the interface";
9666                        }8781                        }
9667                      }8782                      }
9668                    }8783                    }
9669                  }8784                  }
9670                  container auto-metric {8785                  container auto-metric {
9671                    description8786                    description
9672                      "Configure the auto-metric for interface";8787                      "Configure the auto-metric for interface";
9673                    container proactive-protect {8788                    container proactive-protect {
9674                      description8789                      description
9675                        "set auto-metric proactive-protect mode";8790                        "set auto-metric proactive-protect mode";
9676                      leaf absolute-metric {8791                      leaf absolute-metric {
9677                        type uint32 {8792                        type uint32 {
9678                          range "1..16777214" {8793                          range "1..16777214" {
9679                            description8794                            description
9680                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8795                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9681                          }8796                          }
9682                        }8797                        }
9683                        description8798                        description
9684                          "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8799                          "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9685                      }8800                      }
9686                      container levels {8801                      container levels {
9687                        description8802                        description
9688                          "Set metric for one level only";8803                          "Set metric for one level only";
9689                        list level {8804                        list level {
9690                          key "level-id";8805                          key "level-id";
9691                          description8806                          description
9692                            "Set metric for one level only";8807                            "Set metric for one level only";
9693                          leaf level-id {8808                          leaf level-id {
9694                            type uint32 {8809                            type uint32 {
9695                              range "1..2" {8810                              range "1..2" {
9696                                description8811                                description
9697                                  "Set metric at this level only";8812                                  "Set metric at this level only";
9698                              }8813                              }
9699                            }8814                            }
9700                            description8815                            description
9701                              "Set metric for one level only";8816                              "Set metric for one level only";
9702                          }8817                          }
9703                          leaf absolute-metric {8818                          leaf absolute-metric {
9704                            type uint32 {8819                            type uint32 {
9705                              range "1..16777214" {8820                              range "1..16777214" {
9706                                description8821                                description
9707                                  "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8822                                  "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9708                              }8823                              }
9709                            }8824                            }
9710                            mandatory true;8825                            mandatory true;
9711                            description8826                            description
9712                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";8827                              "Absolute metric: <1-63> for narrow, <1-16777214> for wide";
9713                          }8828                          }
9714                        }8829                        }
9715                      }8830                      }
9716                    }8831                    }
9717                  }8832                  }
9718                  container disable {8833                  container disable {
9719                    presence "Indicates a disable node is configured.";8834                    presence "Indicates a disable node is configured.";
9720                    description8835                    description
9721                      "Disable IS-IS for this topology on this interface";8836                      "Disable IS-IS for this topology on this interface";
9722                  }8837                  }
9723                }8838                }
9724              }8839              }
9725            }8840            }
9726          }8841          }
9727          container distribute {8842          container distribute {
9728            description8843            description
9729              "Distribute routing information to external services";8844              "Distribute routing information to external services";
9730            container link-state {8845            container link-state {
n9731              presence "Indicates a link-state node is configured.";n8846              presence "Indicates a link-state node is configured";
9732              description8847              description
9733                "Distribute the link-state database to external services";8848                "Distribute the link-state database to external services";
9734              leaf instance-id {8849              leaf instance-id {
9735                type uint32 {8850                type uint32 {
9736                  range "32..4294967295" {8851                  range "32..4294967295" {
9737                    description8852                    description
9738                      "Instance ID";8853                      "Instance ID";
9739                  }8854                  }
9740                }8855                }
9741                description8856                description
9742                  "Set distribution process instance identifier";8857                  "Set distribution process instance identifier";
9743              }8858              }
nn8859              leaf throttle {
8860                type uint32 {
8861                  range "1..20" {
8862                    description
8863                      "Seconds";
8864                  }
8865                }
8866                description
8867                  "Set throttle update in seconds";
8868              }
9744              leaf level {8869              leaf level {
9745                type uint32 {8870                type uint32 {
9746                  range "1..2" {8871                  range "1..2" {
9747                    description8872                    description
9748                      "Level";8873                      "Level";
9749                  }8874                  }
9750                }8875                }
9751                description8876                description
9752                  "Set distribution for one level only";8877                  "Set distribution for one level only";
n9753              }n
9754              leaf throttle {
9755                type uint32 {
9756                  range "1..20" {
9757                    description
9758                      "Seconds";
9759                  }
9760                }
9761                description
9762                  "Set throttle update in seconds";
9763              }
9764              container exclude-interarea {
9765                presence "Indicates a exclude-interarea node is configured.";
9766                description
9767                  "Don't distribute ISIS inter-area prefixes";
9768              }
9769              container exclude-external {
9770                presence "Indicates a exclude-external node is configured.";
9771                description
9772                  "Don't distribute ISIS external prefixes";
9773              }
9774              leaf route-policy {
9775                type xr:Route-policy-name;
9776                description
9777                  "Distribute prefixes based on a route policy";
9778              }8878              }
9779            }8879            }
9780          }8880          }
9781          container segment-routing {8881          container segment-routing {
9782            description8882            description
9783              "IS-IS segment-routing configuration";8883              "IS-IS segment-routing configuration";
9784            container global-block {8884            container global-block {
9785              presence "Indicates a global-block node is configured.";8885              presence "Indicates a global-block node is configured.";
9786              description8886              description
9787                "Prefix-SID Global label Block (SRGB)";8887                "Prefix-SID Global label Block (SRGB)";
9788              leaf lower-bound {8888              leaf lower-bound {
9789                type uint32 {8889                type uint32 {
9790                  range "16000..1048575" {8890                  range "16000..1048575" {
9791                    description8891                    description
9792                      "The lower bound of the SRGB";8892                      "The lower bound of the SRGB";
9793                  }8893                  }
9794                }8894                }
9795                mandatory true;8895                mandatory true;
9796                description8896                description
9797                  "Prefix-SID Global label Block (SRGB)";8897                  "Prefix-SID Global label Block (SRGB)";
9798              }8898              }
9799              leaf upper-bound {8899              leaf upper-bound {
9800                type uint32 {8900                type uint32 {
9801                  range "1..1048575" {8901                  range "1..1048575" {
9802                    description8902                    description
9803                      "The upper bound SRGB";8903                      "The upper bound SRGB";
9804                  }8904                  }
9805                }8905                }
9806                mandatory true;8906                mandatory true;
9807                description8907                description
9808                  "The upper bound SRGB";8908                  "The upper bound SRGB";
9809              }8909              }
9810            }8910            }
9811          }8911          }
9812          container adjacency {8912          container adjacency {
9813            description8913            description
9814              "ISIS adjacency bring up";8914              "ISIS adjacency bring up";
9815            container stagger {8915            container stagger {
9816              presence "Indicates a stagger node is configured.";8916              presence "Indicates a stagger node is configured.";
9817              description8917              description
9818                "Stagger ISIS adjacency bring up";8918                "Stagger ISIS adjacency bring up";
9819              leaf initial-number-of-neighbors {8919              leaf initial-number-of-neighbors {
9820                type uint32 {8920                type uint32 {
9821                  range "2..65000" {8921                  range "2..65000" {
9822                    description8922                    description
9823                      "Initial number of neighbors to bring up (default 2)";8923                      "Initial number of neighbors to bring up (default 2)";
9824                  }8924                  }
9825                }8925                }
9826                must "../maximum-simultaneous-neighbors";8926                must "../maximum-simultaneous-neighbors";
9827                description8927                description
9828                  "Initial number of neighbors to bring up (default 2)";8928                  "Initial number of neighbors to bring up (default 2)";
9829              }8929              }
9830              leaf maximum-simultaneous-neighbors {8930              leaf maximum-simultaneous-neighbors {
9831                type uint32 {8931                type uint32 {
9832                  range "2..65000" {8932                  range "2..65000" {
9833                    description8933                    description
9834                      "Maximum simultaneous neighbors to bring up (default 64)";8934                      "Maximum simultaneous neighbors to bring up (default 64)";
9835                  }8935                  }
9836                }8936                }
9837                must "../initial-number-of-neighbors";8937                must "../initial-number-of-neighbors";
9838                description8938                description
9839                  "Maximum simultaneous neighbors to bring up (default 64)";8939                  "Maximum simultaneous neighbors to bring up (default 64)";
9840              }8940              }
9841            }8941            }
9842          }8942          }
n9843          container algorithm {n
9844            description
9845              "Standard algorithm definition";
9846            container zero {
9847              presence "Indicates a zero node is configured.";
9848              description
9849                "Algorithm number";
9850              container address-family {
9851                description
9852                  "Enter the IS-IS Flex-Algo address-family configuration submode";
9853                container ipv4 {
9854                  description
9855                    "IPV4 address family";
9856                  container unicast {
9857                    presence "Indicates a unicast node is configured.";
9858                    description
9859                      "unicast topology";
9860                    container maximum-paths {
9861                      description
9862                        "Maximum number of active parallel paths per route";
9863                      leaf number-of-paths {
9864                        type uint32 {
9865                          range "1..64" {
9866                            description
9867                              "Number of paths";
9868                          }
9869                        }
9870                        description
9871                          "Number of paths";
9872                      }
9873                      leaf route-policy {
9874                        type xr:Route-policy-name;
9875                        description
9876                          "Filter routes based on a route policy";
9877                      }
9878                    }
9879                  }
9880                }
9881                container ipv6 {
9882                  description
9883                    "IPV6 address family";
9884                  container unicast {
9885                    presence "Indicates a unicast node is configured.";
9886                    description
9887                      "unicast topology";
9888                    container maximum-paths {
9889                      description
9890                        "Maximum number of active parallel paths per route";
9891                      leaf number-of-paths {
9892                        type uint32 {
9893                          range "1..64" {
9894                            description
9895                              "Number of paths";
9896                          }
9897                        }
9898                        description
9899                          "Number of paths";
9900                      }
9901                      leaf route-policy {
9902                        type xr:Route-policy-name;
9903                        description
9904                          "Filter routes based on a route policy";
9905                      }
9906                    }
9907                  }
9908                }
9909              }
9910            }
9911          }
9912          container flex-algos {8943          container flex-algos {
9913            description8944            description
9914              "Flex Algorithm definition";8945              "Flex Algorithm definition";
9915            list flex-algo {8946            list flex-algo {
9916              key "algorithm-number";8947              key "algorithm-number";
9917              description8948              description
9918                "Flex Algorithm definition";8949                "Flex Algorithm definition";
9919              leaf algorithm-number {8950              leaf algorithm-number {
9920                type uint32 {8951                type uint32 {
9921                  range "128..255" {8952                  range "128..255" {
9922                    description8953                    description
9923                      "Algorithm number";8954                      "Algorithm number";
9924                  }8955                  }
9925                }8956                }
9926                description8957                description
9927                  "Flex Algorithm definition";8958                  "Flex Algorithm definition";
9928              }8959              }
9929              container affinity {8960              container affinity {
9930                description8961                description
9931                  "Specify affinity names to exclude";8962                  "Specify affinity names to exclude";
9932                container exclude-anies {8963                container exclude-anies {
9933                  description8964                  description
9934                    "Exclude objects in flex-algo calculation";8965                    "Exclude objects in flex-algo calculation";
9935                  leaf-list exclude-any {8966                  leaf-list exclude-any {
9936                    type xr:Cisco-ios-xr-string {8967                    type xr:Cisco-ios-xr-string {
9937                      length "1..32" {8968                      length "1..32" {
9938                        description8969                        description
9939                          "Affinity to exclude";8970                          "Affinity to exclude";
9940                      }8971                      }
9941                    }8972                    }
9942                    max-elements "32";8973                    max-elements "32";
9943                    description8974                    description
9944                      "Exclude objects in flex-algo calculation";8975                      "Exclude objects in flex-algo calculation";
9945                  }8976                  }
9946                }8977                }
9947                container include-anies {8978                container include-anies {
9948                  description8979                  description
9949                    "Include objects in flex-algo calculation";8980                    "Include objects in flex-algo calculation";
9950                  leaf-list include-any {8981                  leaf-list include-any {
9951                    type xr:Cisco-ios-xr-string {8982                    type xr:Cisco-ios-xr-string {
9952                      length "1..32" {8983                      length "1..32" {
9953                        description8984                        description
9954                          "Affinity to include";8985                          "Affinity to include";
9955                      }8986                      }
9956                    }8987                    }
9957                    max-elements "32";8988                    max-elements "32";
9958                    description8989                    description
9959                      "Include objects in flex-algo calculation";8990                      "Include objects in flex-algo calculation";
9960                  }8991                  }
9961                }8992                }
9962                container include-alls {8993                container include-alls {
9963                  description8994                  description
9964                    "Include objects in flex-algo calculation";8995                    "Include objects in flex-algo calculation";
9965                  leaf-list include-all {8996                  leaf-list include-all {
9966                    type xr:Cisco-ios-xr-string {8997                    type xr:Cisco-ios-xr-string {
9967                      length "1..32" {8998                      length "1..32" {
9968                        description8999                        description
9969                          "Affinity to include";9000                          "Affinity to include";
9970                      }9001                      }
9971                    }9002                    }
9972                    max-elements "32";9003                    max-elements "32";
9973                    description9004                    description
9974                      "Include objects in flex-algo calculation";9005                      "Include objects in flex-algo calculation";
9975                  }9006                  }
9976                }9007                }
n9977                container reverse {n
9978                  description
9979                    "Apply to links in the reverse direction";
9980                  container exclude-anies {
9981                    description
9982                      "Exclude objects in flex-algo calculation";
9983                    leaf-list exclude-any {
9984                      type string {
9985                        length "1..32" {
9986                          description
9987                            "Reverse affinity to exclude";
9988                        }
9989                      }
9990                      max-elements "32";
9991                      description
9992                        "Exclude objects in flex-algo calculation";
9993                    }
9994                  }
9995                  container include-anies {
9996                    description
9997                      "Include objects in flex-algo calculation";
9998                    leaf-list include-any {
9999                      type string {
10000                        length "1..32" {
10001                          description
10002                            "Reverse affinity to include";
10003                        }
10004                      }
10005                      max-elements "32";
10006                      description
10007                        "Include objects in flex-algo calculation";
10008                    }
10009                  }
10010                  container include-alls {
10011                    description
10012                      "Include objects in flex-algo calculation";
10013                    leaf-list include-all {
10014                      type string {
10015                        length "1..32" {
10016                          description
10017                            "Reverse affinity to include";
10018                        }
10019                      }
10020                      max-elements "32";
10021                      description
10022                        "Include objects in flex-algo calculation";
10023                    }
10024                  }
10025                }
10026              }
10027              leaf minimum-bandwidth {
10028                type uint32 {
10029                  range "1..4294967295" {
10030                    description
10031                      "Minimum link bandwidth (kbits/sec)";
10032                  }
10033                }
10034                description
10035                  "Specify minimum link bandwidth";
10036              }
10037              leaf maximum-delay {
10038                type uint32 {
10039                  range "1..10000000" {
10040                    description
10041                      "Maximum link delay (microseconds)";
10042                  }
10043                }
10044                description
10045                  "Specify maximum link delay";
10046              }9008              }
10047              container srlg {9009              container srlg {
10048                description9010                description
10049                  "Specify SRLG names";9011                  "Specify SRLG names";
10050                container exclude-anies {9012                container exclude-anies {
10051                  description9013                  description
10052                    "Exclude objects in flex-algo calculation";9014                    "Exclude objects in flex-algo calculation";
10053                  leaf-list exclude-any {9015                  leaf-list exclude-any {
10054                    type xr:Cisco-ios-xr-string {9016                    type xr:Cisco-ios-xr-string {
10055                      length "1..32" {9017                      length "1..32" {
10056                        description9018                        description
10057                          "SRLG to exclude";9019                          "SRLG to exclude";
10058                      }9020                      }
10059                    }9021                    }
10060                    max-elements "32";9022                    max-elements "32";
10061                    description9023                    description
10062                      "Exclude objects in flex-algo calculation";9024                      "Exclude objects in flex-algo calculation";
10063                  }9025                  }
10064                }9026                }
10065              }9027              }
10066              leaf priority {9028              leaf priority {
10067                type uint32 {9029                type uint32 {
10068                  range "0..255" {9030                  range "0..255" {
10069                    description9031                    description
10070                      "Priority value";9032                      "Priority value";
10071                  }9033                  }
10072                }9034                }
10073                description9035                description
10074                  "Flex-Algo definition priority";9036                  "Flex-Algo definition priority";
10075              }9037              }
n10076              leaf metric-type {n9038              container metric-type {
10077                type uint32 {9039                description
10078                  range "0..255" {9040                  "Metric-type used by flex-algo calculation";
9041                container delay {
9042                  must "not(../te)";
9043                  presence "Indicates a delay node is configured.";
10079                    description9044                  description
10080                      "Metric-type";9045                    "Use delay as metric";
10081                  }9046                }
10082                }9047                container te {
9048                  must "not(../delay)";
9049                  presence "Indicates a te node is configured.";
10083                description9050                  description
10084                  "Flex-Algo metric-type (0: IGP; 1: Delay; 2: Traffic Engneering Metric, (128-255): Generic-metric types";9051                    "Use Traffic Engineering metric";
9052                }
10085              }9053              }
10086              container fast-reroute {9054              container fast-reroute {
10087                description9055                description
10088                  "Configure Fast ReRoute";9056                  "Configure Fast ReRoute";
10089                container disable {9057                container disable {
10090                  presence "Indicates a disable node is configured.";9058                  presence "Indicates a disable node is configured.";
10091                  description9059                  description
10092                    "Disable Fast ReRoute for Flex-Algo";9060                    "Disable Fast ReRoute for Flex-Algo";
10093                }9061                }
10094              }9062              }
10095              container microloop {9063              container microloop {
10096                description9064                description
10097                  "Configure Microloop";9065                  "Configure Microloop";
10098                container avoidance {9066                container avoidance {
10099                  description9067                  description
10100                    "Configure Microloop Avoidance";9068                    "Configure Microloop Avoidance";
10101                  container disable {9069                  container disable {
10102                    presence "Indicates a disable node is configured.";9070                    presence "Indicates a disable node is configured.";
10103                    description9071                    description
10104                      "Disable Microloop Avoidance for Flex-Algo";9072                      "Disable Microloop Avoidance for Flex-Algo";
10105                  }9073                  }
10106                }9074                }
10107              }9075              }
n10108              container ucmp {n
10109                description
10110                  "Configure UCMP";
10111                container disable {
10112                  presence "Indicates a disable node is configured.";
10113                  description
10114                    "Disable UCMP for Flex-Algo";
10115                }
10116              }
10117              container advertise-definition {9076              container advertise-definition {
10118                presence "Indicates a advertise-definition node is configured.";9077                presence "Indicates a advertise-definition node is configured.";
10119                description9078                description
10120                  "Advertise the Flex-Algo Definition";9079                  "Advertise the Flex-Algo Definition";
10121              }9080              }
10122              container prefix-metric {9081              container prefix-metric {
10123                presence "Indicates a prefix-metric node is configured.";9082                presence "Indicates a prefix-metric node is configured.";
10124                description9083                description
10125                  "Use Flex-Algo Prefix Metric";9084                  "Use Flex-Algo Prefix Metric";
t10126              }t
10127              container data-plane {
10128                description
10129                  "Flex-Algo Data Plane";
10130                container segment-routing {
10131                  presence "Indicates a segment-routing node is configured.";
10132                  description
10133                    "Segment Routing";
10134                }
10135                container ip {
10136                  presence "Indicates a ip node is configured.";
10137                  description
10138                    "IP";
10139                }
10140              }
10141              container address-family {
10142                description
10143                  "Enter the IS-IS Flex-Algo address-family configuration submode";
10144                container ipv4 {
10145                  description
10146                    "IPV4 address family";
10147                  container unicast {
10148                    presence "Indicates a unicast node is configured.";
10149                    description
10150                      "unicast topology";
10151                    container maximum-paths {
10152                      description
10153                        "Maximum number of active parallel paths per route";
10154                      leaf number-of-paths {
10155                        type uint32 {
10156                          range "1..64" {
10157                            description
10158                              "Number of paths";
10159                          }
10160                        }
10161                        description
10162                          "Number of paths";
10163                      }
10164                      leaf route-policy {
10165                        type xr:Route-policy-name;
10166                        description
10167                          "Filter routes based on a route policy";
10168                      }
10169                    }
10170                  }
10171                }
10172                container ipv6 {
10173                  description
10174                    "IPV6 address family";
10175                  container unicast {
10176                    presence "Indicates a unicast node is configured.";
10177                    description
10178                      "unicast topology";
10179                    container maximum-paths {
10180                      description
10181                        "Maximum number of active parallel paths per route";
10182                      leaf number-of-paths {
10183                        type uint32 {
10184                          range "1..64" {
10185                            description
10186                              "Number of paths";
10187                          }
10188                        }
10189                        description
10190                          "Number of paths";
10191                      }
10192                      leaf route-policy {
10193                        type xr:Route-policy-name;
10194                        description
10195                          "Filter routes based on a route policy";
10196                      }
10197                    }
10198                  }
10199                }
10200              }9085              }
10201            }9086            }
10202          }9087          }
10203          container affinity-maps {9088          container affinity-maps {
10204            description9089            description
10205              "Affinity map configuration";9090              "Affinity map configuration";
10206            list affinity-map {9091            list affinity-map {
10207              key "affinity-map-name";9092              key "affinity-map-name";
10208              description9093              description
10209                "Affinity map configuration";9094                "Affinity map configuration";
10210              leaf affinity-map-name {9095              leaf affinity-map-name {
10211                type xr:Cisco-ios-xr-string {9096                type xr:Cisco-ios-xr-string {
10212                  length "1..32" {9097                  length "1..32" {
10213                    description9098                    description
10214                      "Affinity attribute name";9099                      "Affinity attribute name";
10215                  }9100                  }
10216                }9101                }
10217                description9102                description
10218                  "Affinity map configuration";9103                  "Affinity map configuration";
10219              }9104              }
10220              leaf bit-position {9105              leaf bit-position {
10221                type uint32 {9106                type uint32 {
10222                  range "0..255" {9107                  range "0..255" {
10223                    description9108                    description
10224                      "Bit position";9109                      "Bit position";
10225                  }9110                  }
10226                }9111                }
10227                mandatory true;9112                mandatory true;
10228                description9113                description
10229                  "Bit position for affinity attribute value";9114                  "Bit position for affinity attribute value";
10230              }9115              }
10231            }9116            }
10232          }9117          }
10233          container srlg {9118          container srlg {
10234            presence "Indicates a srlg node is configured.";9119            presence "Indicates a srlg node is configured.";
10235            description9120            description
10236              "ISIS SRLG submode";9121              "ISIS SRLG submode";
10237            container names {9122            container names {
10238              description9123              description
10239                "SRLG Name";9124                "SRLG Name";
10240              list name {9125              list name {
10241                key "srlg-name";9126                key "srlg-name";
10242                description9127                description
10243                  "SRLG Name";9128                  "SRLG Name";
10244                leaf srlg-name {9129                leaf srlg-name {
10245                  type xr:Cisco-ios-xr-string {9130                  type xr:Cisco-ios-xr-string {
10246                    length "1..64" {9131                    length "1..64" {
10247                      description9132                      description
10248                        "SRLG Name";9133                        "SRLG Name";
10249                    }9134                    }
10250                  }9135                  }
10251                  description9136                  description
10252                    "SRLG Name";9137                    "SRLG Name";
10253                }9138                }
10254                leaf admin-weight {9139                leaf admin-weight {
10255                  type uint32 {9140                  type uint32 {
10256                    range "0..16777215" {9141                    range "0..16777215" {
10257                      description9142                      description
10258                        "Value added to link admin-weight during SRLG-aware path computation";9143                        "Value added to link admin-weight during SRLG-aware path computation";
10259                    }9144                    }
10260                  }9145                  }
10261                  description9146                  description
10262                    "Administrative weight: default inherited from the global admin-weight";9147                    "Administrative weight: default inherited from the global admin-weight";
10263                }9148                }
10264                container static {9149                container static {
10265                  description9150                  description
10266                    "Configure static SRLG under name";9151                    "Configure static SRLG under name";
10267                  container ipv4 {9152                  container ipv4 {
10268                    description9153                    description
10269                      "IPv4 address";9154                      "IPv4 address";
10270                    list address {9155                    list address {
10271                      must "next-hop";9156                      must "next-hop";
10272                      key "local-address";9157                      key "local-address";
10273                      description9158                      description
10274                        "IPv4 address of local end-point of the link";9159                        "IPv4 address of local end-point of the link";
10275                      leaf local-address {9160                      leaf local-address {
10276                        type inet:ipv4-address-no-zone;9161                        type inet:ipv4-address-no-zone;
10277                        description9162                        description
10278                          "IPv4 address of local end-point of the link";9163                          "IPv4 address of local end-point of the link";
10279                      }9164                      }
10280                      container next-hop {9165                      container next-hop {
10281                        description9166                        description
10282                          "Next hop of the link";9167                          "Next hop of the link";
10283                        list address {9168                        list address {
10284                          key "remote-address";9169                          key "remote-address";
10285                          description9170                          description
10286                            "IPv4 address of local end-point of the link";9171                            "IPv4 address of local end-point of the link";
10287                          leaf remote-address {9172                          leaf remote-address {
10288                            type inet:ipv4-address-no-zone;9173                            type inet:ipv4-address-no-zone;
10289                            description9174                            description
10290                              "IPv4 address of remote end-point of the link";9175                              "IPv4 address of remote end-point of the link";
10291                          }9176                          }
10292                        }9177                        }
10293                      }9178                      }
10294                    }9179                    }
10295                  }9180                  }
10296                }9181                }
10297              }9182              }
10298            }9183            }
10299            leaf admin-weight {9184            leaf admin-weight {
10300              type uint32 {9185              type uint32 {
10301                range "0..16777215" {9186                range "0..16777215" {
10302                  description9187                  description
10303                    "Value added to link admin-weight during SRLG-aware path computation";9188                    "Value added to link admin-weight during SRLG-aware path computation";
10304                }9189                }
10305              }9190              }
10306              description9191              description
10307                "Default administrative weight for all SRLGs, default is 1";9192                "Default administrative weight for all SRLGs, default is 1";
10308            }9193            }
10309          }9194          }
10310          container purge-transmit {9195          container purge-transmit {
10311            description9196            description
10312              "Control TLVs permitted in purge LSP";9197              "Control TLVs permitted in purge LSP";
10313            container strict {9198            container strict {
10314              presence "Indicates a strict node is configured.";9199              presence "Indicates a strict node is configured.";
10315              description9200              description
10316                "Only authentication TLV is allowed";9201                "Only authentication TLV is allowed";
10317              leaf apply-for-level-only {9202              leaf apply-for-level-only {
10318                type enumeration {9203                type enumeration {
10319                  enum "level-1" {9204                  enum "level-1" {
10320                    value 1;9205                    value 1;
10321                    description9206                    description
10322                      "Apply for Level-1 only";9207                      "Apply for Level-1 only";
10323                  }9208                  }
10324                  enum "level-2" {9209                  enum "level-2" {
10325                    value 2;9210                    value 2;
10326                    description9211                    description
10327                      "Apply for Level-2 only";9212                      "Apply for Level-2 only";
10328                  }9213                  }
10329                }9214                }
10330                description9215                description
10331                  "configure this node";9216                  "configure this node";
10332              }9217              }
10333            }9218            }
10334          }9219          }
10335          container receive {9220          container receive {
10336            description9221            description
10337              "Control if ASLA takes precedence over Legacy";9222              "Control if ASLA takes precedence over Legacy";
10338            container application {9223            container application {
10339              description9224              description
10340                "Select Application";9225                "Select Application";
10341              container flex-algo {9226              container flex-algo {
10342                description9227                description
10343                  "Flex-Algo Applciation";9228                  "Flex-Algo Applciation";
10344                container delay {9229                container delay {
10345                  description9230                  description
10346                    "Unidirectionial Min Delay metric";9231                    "Unidirectionial Min Delay metric";
10347                  container app-only {9232                  container app-only {
10348                    presence "Indicates a app-only node is configured.";9233                    presence "Indicates a app-only node is configured.";
10349                    description9234                    description
10350                      "ASLA to take precedence";9235                      "ASLA to take precedence";
10351                  }9236                  }
10352                }9237                }
10353              }9238              }
10354            }9239            }
10355          }9240          }
10356          container attestation {9241          container attestation {
10357            presence "Indicates a attestation node is configured.";9242            presence "Indicates a attestation node is configured.";
10358            description9243            description
10359              "ISIS Attestation submode";9244              "ISIS Attestation submode";
10360            container application {9245            container application {
10361              description9246              description
10362                "Application";9247                "Application";
10363              container flex-algo {9248              container flex-algo {
10364                presence "Indicates a flex-algo node is configured.";9249                presence "Indicates a flex-algo node is configured.";
10365                description9250                description
10366                  "Flexible Algorithm application";9251                  "Flexible Algorithm application";
10367                container trust-vector {9252                container trust-vector {
10368                  presence "Indicates a trust-vector node is configured.";9253                  presence "Indicates a trust-vector node is configured.";
10369                  description9254                  description
10370                    "Trust Vector Configuration";9255                    "Trust Vector Configuration";
10371                  container boot-integrity-passed {9256                  container boot-integrity-passed {
10372                    description9257                    description
10373                      "Boot Integrity Passed";9258                      "Boot Integrity Passed";
10374                    leaf affinity {9259                    leaf affinity {
10375                      type string {9260                      type string {
10376                        length "1..32" {9261                        length "1..32" {
10377                          description9262                          description
10378                            "Affinity name";9263                            "Affinity name";
10379                        }9264                        }
10380                      }9265                      }
10381                      description9266                      description
10382                        "Affinity configuration";9267                        "Affinity configuration";
10383                    }9268                    }
10384                  }9269                  }
10385                  container boot-integrity-failed {9270                  container boot-integrity-failed {
10386                    description9271                    description
10387                      "Boot Integrity Failed";9272                      "Boot Integrity Failed";
10388                    leaf affinity {9273                    leaf affinity {
10389                      type string {9274                      type string {
10390                        length "1..32" {9275                        length "1..32" {
10391                          description9276                          description
10392                            "Affinity name";9277                            "Affinity name";
10393                        }9278                        }
10394                      }9279                      }
10395                      description9280                      description
10396                        "Affinity configuration";9281                        "Affinity configuration";
10397                    }9282                    }
10398                  }9283                  }
10399                  container failures-found {9284                  container failures-found {
10400                    description9285                    description
10401                      "Failures Found";9286                      "Failures Found";
10402                    leaf affinity {9287                    leaf affinity {
10403                      type string {9288                      type string {
10404                        length "1..32" {9289                        length "1..32" {
10405                          description9290                          description
10406                            "Affinity name";9291                            "Affinity name";
10407                        }9292                        }
10408                      }9293                      }
10409                      description9294                      description
10410                        "Affinity configuration";9295                        "Affinity configuration";
10411                    }9296                    }
10412                  }9297                  }
10413                }9298                }
10414              }9299              }
10415              container traffic-engineering {9300              container traffic-engineering {
10416                presence "Indicates a traffic-engineering node is configured.";9301                presence "Indicates a traffic-engineering node is configured.";
10417                description9302                description
10418                  "Traffic-engineering application";9303                  "Traffic-engineering application";
10419                container trust-vector {9304                container trust-vector {
10420                  presence "Indicates a trust-vector node is configured.";9305                  presence "Indicates a trust-vector node is configured.";
10421                  description9306                  description
10422                    "Trust Vector Configuration";9307                    "Trust Vector Configuration";
10423                  container boot-integrity-passed {9308                  container boot-integrity-passed {
10424                    description9309                    description
10425                      "Boot Integrity Passed";9310                      "Boot Integrity Passed";
10426                    leaf affinity {9311                    leaf affinity {
10427                      type string {9312                      type string {
10428                        length "1..32" {9313                        length "1..32" {
10429                          description9314                          description
10430                            "Affinity name";9315                            "Affinity name";
10431                        }9316                        }
10432                      }9317                      }
10433                      description9318                      description
10434                        "Affinity configuration";9319                        "Affinity configuration";
10435                    }9320                    }
10436                  }9321                  }
10437                  container boot-integrity-failed {9322                  container boot-integrity-failed {
10438                    description9323                    description
10439                      "Boot Integrity Failed";9324                      "Boot Integrity Failed";
10440                    leaf affinity {9325                    leaf affinity {
10441                      type string {9326                      type string {
10442                        length "1..32" {9327                        length "1..32" {
10443                          description9328                          description
10444                            "Affinity name";9329                            "Affinity name";
10445                        }9330                        }
10446                      }9331                      }
10447                      description9332                      description
10448                        "Affinity configuration";9333                        "Affinity configuration";
10449                    }9334                    }
10450                  }9335                  }
10451                  container failures-found {9336                  container failures-found {
10452                    description9337                    description
10453                      "Failures Found";9338                      "Failures Found";
10454                    leaf affinity {9339                    leaf affinity {
10455                      type string {9340                      type string {
10456                        length "1..32" {9341                        length "1..32" {
10457                          description9342                          description
10458                            "Affinity name";9343                            "Affinity name";
10459                        }9344                        }
10460                      }9345                      }
10461                      description9346                      description
10462                        "Affinity configuration";9347                        "Affinity configuration";
10463                    }9348                    }
10464                  }9349                  }
10465                }9350                }
10466              }9351              }
10467            }9352            }
10468          }9353          }
10469        }9354        }
10470      }9355      }
10471    }9356    }
10472  }9357  }
10473}9358}
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op